Try our conversational search powered by Generative AI!

Sortfilter with newslist

Vote:
 
I have a newslist that I would like to sort on a property but I need to change the sort algorithm. If the porp. contains: "f12", "f123", "f25" and "f3" I would like to sort them like this: f3 f12 f25 f123 As of now I use SortBy="MyProp" but the sort ends up like this: f12 f123 f25 f3 I need to add some kind of sortfilter in the codebehind to sort it correct. .... Templates...
#12757
Aug 25, 2006 14:54
Vote:
 
Hi. Take a look at the FAQ EPiServer 4 here: http://www.episerver.com/en/EPiServer_Knowledge_Center/Support/FAQ_EPiServer_4/ Search for "Filter" and you will find many sorting tips, and an example on how to sort the way you want (Q936). /Øyvind
#14848
Sep 05, 2006 14:23
* 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.