sorting pages based on a property

Vote:
 
is there any way to sort pages from a GetChildren statement based on a property on these pages?
#17532
Mar 25, 2008 19:33
Vote:
 
Indeed. PageDataCollection pdc = EPiServer.Global.EPDataFactory.GetChildren(CurrentPage.PageLink); FilterPropertySort sort = new FilterPropertySort("MainBody", FilterSortDirection.Ascending); sort.Filter(null, new FilterEventArgs(pdc)); /HAXEN
#18361
Mar 25, 2008 19:43
* 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.