Compares points based on Y value. X value is ignored. Returns values:
arrayOfPoints.sort(Points.compareByY); Copy
arrayOfPoints.sort(Points.compareByY);
Compares points based on Y value. X value is ignored. Returns values:
Example: Sorting by Y