Sorting methods, collinear points, convex hulls