first value to compare
second value to compare
A number indicating whether a reference string comes before or after or is the same as the given string in sort order.
compareString("apple", "banana");;
//=> -1
compareString("banana", "apple");;
//=> 1
compareString("apple", "apple");;
//=> 0
Generated using TypeDoc
Alpha numeric comparator function (ascending)