About
User guide
API Reference
xy_sorted_njit()
Returns copy of points p sorted according to x or y (whichever has greater range).