TStringList.Sort

Sorts the strings in the list.

Declaration

Source position: classesh.inc line 862

public 
  procedure Sort;  Virtual;
  procedure Sort(SortingAlgorithm: PSortingAlgorithm);  Virtual;

Description

Sort will sort the strings in the list using the quicksort algorithm. If the list has its TStringList.Sorted property set to True then nothing will be done.

See also

Name Description
TStringList.Sorted Determines whether the list is sorted or not.