Changing Point Indicies/Order on GH

Hi all,

What is the fastest way to change the order of points on GH? I can only think of listing items and changing the order, is there another simpler way? I would like to renumber them so that I start at zero and end with forty-seven.

Thank you in advance!

Thanks for the quick response!

I am actually trying to create a curve through these points. At the moment, I drew the curve in Rhino just to make sense of these points. Sorry for the confusion.

You could sort them radially. Here’s one approach:


In case the points are on an axis, you could also sort according to their X or Y value

1 Like

Thank you so much, this works beautifully!

1 Like