Dear Community ,
I want to sort points in the Cartesian coordinates system in a logical order, from smallest to greatest, so that they are next to each other. For example, point 3 should be between points 2 and 4. In my case, point 3 is between points 5 and 6. See the figure below.
Any suggestion how can I sort the point in a logical order.
Here is a screenshot of the GH file
and the GH Code
Points_Order_17.May.2020.gh (25.4 KB)
I am looking forward to your answering and many thanks in advance.
Stay healthy and kind regards,