TSubstringListSortCompare Event

type TSubstringListSortCompare = function(const Item1, Item2: Substring): Integer;

A custom order for CustomSort and Sort: negative when Item1 sorts before Item2, 0 when they are equal, positive when it sorts after.

Item1 and Item2 are the list's items, read in place during the call.

#NameTypeDescription
1Item1Substring
2Item2Substring