Returns True if the selection (selected lines) can be sorted.
function CanSortSelection: Boolean;
TCustomSyntaxMemo Methods