Try our conversational search powered by Generative AI!

Can one reverse-alpha sort?

Vote:
 
I'm currently naming news articles on my client's site using the format YYYYMMDD-Article Title. I'd like to sort this using reverse-alphabetic (thus placing the newest dated articles at the top of the list), but have discovered that there is no 'easy' way to do this. Can someone point me in the right direction as to which control to change in order to reverse the direction of the alpha sort? Thanks Jordan
#13182
Aug 29, 2007 15:55
Vote:
 
I am a beginner to EPiServer, but my guess is that SearchResult.SortDirection = EPiServer.Filters.FilterSortDirection.Descending; might do the job?
#15507
Jan 22, 2008 17:18
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.