| Sort |
Sorts the values in the list by using the default comparer. |
| Sort(IComparer<T>) |
Sorts the values in the list by using a comparer. |
| Sort(TComparison<T>) |
Sorts the values in the list by using a comparison callback. |
Sorts the values in the list by using a comparer.
Delphi
procedure Sort(const Comparer: IComparer<T>); overload;
Parameters
- Comparer
- IComparer<T>
The IComparer<T> used to order values.
If Comparer is nil, the default comparer is used.
Sorts the values in the list by using a comparison callback.
Delphi
procedure Sort(const Comparison: TComparison<T>); overload;
Parameters
- Comparison
- TComparison<T>
The TComparison<T> callback used to order values.
If Comparison is nil, the default comparer is used.