Sort along the direction of a curve

Hello all,

I have a series of objects that I wish to sort using the direction of a curve.

Here’s how they are ordered at the moment:

How can I use the direction of the curve to sort them like this?

here’s the gh file:
sort along direction of curve.gh (17.4 KB)

Thank you!

Try to use Sort Along Curve.


sort along direction of curve_re.gh (21.5 KB)

2 Likes


sort along curve_2023Dec12a.gh (22.0 KB)

1 Like

Thank you both so much!