CoreClasses Xojo Plugin

VariantArray.Sort Method (console safe)

Use this method to sort the array.

Sort(
   ascending as Boolean,
   comparer as IVariantComparer)

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 IVariantComparer Interface to this parameter. The class that implements the IComparer interface will let you define how to compare the Variants.

Remarks

See Also

VariantArray Class