How to sort a collection?

  • Thread starter Thread starter Prasanna
  • Start date Start date
P

Prasanna

Hi,

I have a collection object (SPFileCollection in Sharepint v2 API) that does
not have a sort method of its own. Does anyone know of any class that would
take in the collection and sort it on a paricular attribute?
 
Prasana, is the collection 1 dimensional? If so you can pass it to
Array.Sort(...).
 
Back
Top