Gets the current sort index for the subject or -1 if it is not sorted.
This should be 1 based.
Optionalsubject: stringThe subject to sort. If this is undefined, the subject should be considered the empty string (the object itself).
The current sort index.
Sorts a specific subject.
Optionalsubject: stringThe subject to sort. Undefined is considered the empty string.
The updated sort list.
Gets the current direction that the subject is sorted.
Optionalsubject: stringThe subject to check. Undefined is considered the empty string (the object itself).
Represents a sorter algorithm that can help with building sorts based on common techniques.