I have written the following class:
public class SortingObjectsWithAngleField implements Comparator { public int compare(Point p1, Point p
You should have found it in the API: n log(n).