Sorting nightmare

random.gh (72.8 KB)


I wanted to make interpolated curves along vertical
but I am having problem sorting the end geometry after using random so many times.
Just want the entire final points sorted from bottom to top (indices:0,1,2,3…)

Hey @scorchblood, hopefully this is what you were after.


random_oraganised.gh (72.1 KB)

1 Like

From the beginning you need to sort the points and don’t flatten the tree

random_.gh (72.9 KB)

1 Like

Thank you for the help, both methods work, learned a lot!