Navigation: Code Documentation > RSCommon > Structures > Classes > TSortedCollection > Methods
TSortedCollection.CustomSort(TCollectionItemCompareEvent) Method
Sorts the collection using a custom sorting function. Use this function to sort the collection using a different function than the OnCompare event.
Namespace: Structures
Delphi
public procedure CustomSort(SCompare: TCollectionItemCompareEvent); virtual;
Parameters
SCompare
Type: TCollectionItemCompareEvent
•Structures.TSortedCollection.QuickSort(Integer,Integer,TCollectionItemCompareEvent)
•Structures.TSortedCollection.OnCompare
•TSortedCollection
•Structures