property Sorted: Boolean read FSorted write SetSorted;
Whether Add places each text at its sorted place; setting it True sorts the list.
Returns: Boolean
Examples
Each add at its place.
uses Substr;
procedure Example;
var List: TSubstringList;
begin
List := TSubstringList.Create(4);
try
List.Sorted := True;
List.Add('b');
List.Add('a');
Assert((List[0] = 'a') and (List[1] = 'b'));
finally
List.Free;
end;
end;