Compares points based on Z value. XY values are ignored.
Return values:
arrayOfPoints.sort(Points.compareByZ); Copy
arrayOfPoints.sort(Points.compareByZ);
Compares points based on Z value. XY values are ignored.
Return values: