Skip to main content

TdxFastList.Sort(TListSortCompare,Boolean) Method

Sorts the stored pointers.

Declaration

procedure Sort(ACompare: TListSortCompare; AMultiThreaded: Boolean = False); overload;

Parameters

Name Type
ACompare TListSortCompare
AMultiThreaded Boolean

Remarks

Call either of the overloaded procedure variants to sort the stored pointers using the QuickSort algorithm. Pass a value comparison routine as the ACompare parameter to define a specific comparison algorithm or criteria for the stored pointers. Pass True as the optional AMultiThreaded parameter to use the multi-threaded implementation of the QuickSort algorithm for the sort operation.

See Also