CoreClasses Xojo Plugin

ObjectCollection.Sort Method (console safe)

Use this method to sort the collection.

Sort(
   ascending as Boolean,
   comparer as IComparer)

Parameters

ascending
If this parameter is true then the collection is sorted in ascending order, if its false then its sorted in descending order.
comparer
Pass a instance of a class that implements the IComparer Interface to this parameter. The class that implements the IComparer interface will let you define how to compare the objects.

Remarks

See Also

ObjectCollection Class