I have two generic thoughts on the subject:
1) What one searches on and what one orders by do not have to be the same thing. One could full imagine searching for "dogs" and ordering by number of members or some such. This leads to letting the user specify the sort order. Many UIs do this by displaying the data in columns with a little triangle at the top to specify sorting ascending or descending by that column.
2) A refinement of 1) is that it is sometimes useful to sort by multiple columns. E.g., sort by number of members numerically descending and then by name in alpha order ascending. The search window in Thunderbird is an example of this.
PG&E Delenda Est