Bryon <bl***@whittmanhart.com> wrote:
I need to sort an ArrayList of objects. I am unable to find a method
for this. DO I need to role my own sorting? Or is there something like
the qsort() function in C of old???
Depending on how you want to sort the ArrayList you can use the Sort()
method of the ArrayList class, if you want to sort by something other
than the 'value' of the Objects you may need to implement an IComparer
that does the comparisons on the appropriate values derived from the
objects - see my post about sorting files by creation date earlier.
/J\