Fix in SortedSet comparator Code