ixfx
    Preparing search index...
    • Compares points based on Y value. X value is ignored.

      Return values: 0: If a.y === b.y 1: A is below B (ie. a.y > b.y) -1: A is above B (ie. a.y < b.y)

      Parameters

      Returns number

      arrayOfPoints.sort(Points.compareByY);