Compares points based on Z value. XY values are ignored. Returns values:
arrayOfPoints.sort(Points.compareByZ); Copy
arrayOfPoints.sort(Points.compareByZ);
Compares points based on Z value. XY values are ignored. Returns values:
Example: Sorting by Y