I want to compute the distance between each point and other points in its sublist and then sort the distances by using points as a value.
Could you post your gh file?
yes, of course.
data1.gh (13.6 KB)
Well here is the best I have got. Just making sure I understand right. You want the distance from one point to every other point in the group of points? According to that understanding here is what I have got.
As for sorting by points, each set of distances are already in their own trees. Let me know if that is what you need.
data1 (1) 2023.gh (12.5 KB)
I want the structure of points to be like the structure of the distances list after the sorted list component