Sorting a listitemcollection by a custom field

  • Thread starter Thread starter Simon Harvey
  • Start date Start date
S

Simon Harvey

Hi everyone,

I need to sort a list item collection by a sort order value taken from a
database.

The first thing that occured to me was that I could inherit from ListItem
and add a sortOrder field to it. Unfortunately this isnt working because
listitem is sealed.

Does anyone know another way to sort the listitem by an int?

Thank all

Simon
 
Back
Top