[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LCLProc' (#lcl)

MergeSort

Sorting TStrings or TFPList.

Declaration

Source position: lclproc.pas line 94

procedure MergeSort(

  List: TFPList;

  const OnCompare: TListSortCompare

); overload;

procedure MergeSort(

  List: TFPList;

  StartIndex: Integer;

  EndIndex: Integer;

  const OnCompare: TListSortCompare

); overload;

procedure MergeSort(

  List: TStrings;

  const OnCompare: TStringsSortCompare

); overload;

Arguments

List

  

The list to sort (overloaded type).

OnCompare

  

The sort compare function.

Arguments

List

  

The list to sort (overloaded type).

OnCompare

  

The sort compare function.

Arguments

List

  

The list to sort (overloaded type).

OnCompare

  

The sort compare function.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.