compare()Simple compare function typically use in sorting.
This function is valid in v2.0.0 to v2.24.3. This function has been downloaded 65 times.-1 is returned if a < b. 1 is returned if a > b. In all other cases 0 is returned.This function is directly required by the following functions:
bindCompare()sortBy()