CoreClasses Xojo Plugin

ObjectArray.Sort Method (console safe)

Use this method to sort the array.

Sort(
   ascending as Boolean,
   comparer as IComparer)

Parameters

ascending
If this parameter is true then the array 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

ObjectArray Class