new Comparator<Point>() { @Override public int compare(Point o1, Point o2) { return Integer.compare(o2.idx , o1.idx); }