Strange sorting in one facet of Apache Solr Search results We're using the Apache Solr Search module to allow users to filter search results; for example, if a user searches for Pepsi, they get all results, but along the left of our screen they get facets allowing them to filter by Post Date, Article Type, Trend, etc. (Ignore the HTML under Trends/Seasonal; we have the Themer module turned on.) 



We haven't done anything custom to this search that I know of, but there's something strange: all the facets EXCEPT post date sort descending by number of results. Filter by post date actually sorts by post date. We want that one to also filter by number of results. (It's not visible in the screenshot, but 2010, for example, has over 500 posts so we'd definitely like that one to be at the top.)

Is sorting a module setting somewhere? (There are blocks for each filter-by facet, but sort order is not one of the config settings.) I tried looking around in the code, and I found the spot in our search results page template where the entire left filter bar is printed out, but cannot for the life of me find (even with a full-site grep) where the variable it's printing is actually being set.
Don't know exact path for D6, but you can got to facet configuration, configure display - and there will be sort options with ability to enable/disable sorts and reorder sorting.