Returns the ranks and orders of points in decreasing distance to the edges of the triangle
Useful links