System.WideStrings.TWideStringList.Sort
Delphi
procedure Sort; virtual;
C++
virtual void __fastcall Sort(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.WideStrings.pas System.WideStrings.hpp |
System.WideStrings | TWideStringList |
Description
Sorts the strings in the list in ascending order.
Call Sort to sort the strings in a list that has the Sorted property set to false. String lists with the Sorted property set to true are automatically sorted.
Note: Sort uses WideCompareStr to sort the strings when CaseSensitive is true and WideCompareText when CaseSensitive is false. To provide your own comparison operator instead, use the CustomSort method.