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
Mar 25, 2008 18:35
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
Mar 25, 2008 18:45
* 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.