API Reference > Geometry-core > CartesianGeometry > Geometry > lexicalYXLessThan lexicalYXLessThan MethodStatic Lexical comparison of (a.x,a.y) (b.x,b.y) with y as first test, x second. This is appropriate for a vertical sweep in the plane. lexicalYXLessThan(a: XY | XYZ, b: XY | XYZ): -1 | 0 | 1 Parameter Type Description a XY | XYZ b XY | XYZ Returns - -1 | 0 | 1 Defined in core/geometry/src/Geometry.ts Line 288 Last Updated: 13 June, 2024