CoreClasses Xojo Plugin

VariantCollection.Sort Method (console safe)

Use this method to sort the collection.

Sort(
   ascending as Boolean,
   comparer as IVariantComparer)

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

Remarks

See Also

VariantCollection Class