Sort the objects in the list.
Source position: fgl.pp line 202
public procedure TFPGObjectList.Sort( |
Compare: TCompareFunc |
); |
Compare: TCompareFunc; |
SortingAlgorithm: PSortingAlgorithm |
); |
Compare |
|
Compare function for 2 objects: function(const Item1, Item2: T): Integer; |
Compare |
|
Compare function for 2 objects: function(const Item1, Item2: T): Integer; |
Sort sorts the elements in the list using the provided Compare function. The list passes 2 items to the compare function. The result of this function determines how the items will be sorted:
None.