Skip to content

TFPSMap.Sort

Sort the list according to key.

Declaration

Source position: fgl.pp line 302

public 
procedure Sort;

procedure Sort(SortingAlgorithm: PSortingAlgorithm);

Description

Sort sorts the list according to the key value, using the compare function provided in TFPSMap.OnKeyPtrCompare

Errors

None.

See also

Name Description
TFPSMap.OnKeyPtrCompare Callback to compare 2 keys.
TFPSMap.OnDataPtrCompare Callback to compare 2 data items.