[Overview][Constants][Types][Classes][Index] Reference for unit 'fgl' (#rtl)

TFPGList.Sort

Sort the list

Declaration

Source position: fgl.pp line 159

public procedure TFPGList.Sort(

  Compare: TCompareFunc

);

Arguments

Compare

  

Compare function for 2 items

Description

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:


Documentation generated on: Jun 22 2020