[#467] change return value of compareTo for the same object