JetBrains/kotlin — pull request #503 by amal (2014-07-26 19:15:54+00:00)
Title: Negating the result of compareTo() is not good

Negating the result of compareTo()/compare() is a questionable or bad programming practice, since if the return value is Integer.MIN_VALUE, negating the return value won't negate the sign of the result. You can achieve the same intended result by reversing the order of the operands rather than by negating the results.