Why does this code
public class SponsoredComparator implements Comparator { public boolean equals(SRE arg0, SRE arg1){ return arg0.g
maybe you just have NaN values which you compare through Collections.sort... this has been a problem to me and i got that exception even having right implementation of compare(obj1, obj2) method! Check that!