Inherits comparator.
Returns an integer less than, equal to, or greater than 0 if value1 is, respectively, less than, equal to, or greater than value2.
Reimplemented from comparator.