reorder2d function

Order grid by angles between construct and/or elements in 2D.