Sorting the anchors before drawing the convex hull