How to sort curves by length in Grasshopper

Hi guys, this should be pretty easy question: what was the command for sorting the list of curves please? Just want to organise them from shortest to longest :slight_smile: (in this example from 1.03 to 10.2, but in my actual file I’m going to have hundreds of different lengths)

Thank you!

Sort List with curve lengths wired to ‘K’ input and curves wired to ‘A’ input. Then use ‘A’ output.

Ah yes that’s the one! Thanks @Joseph_Oster

Logical, eh? However, that only changes their list order, not their physical location.

But how to see all the different length also ?

Hi @Julien_B ,

The K output has the sorted length values:

2 Likes

Perfect ! Thats great thank you so much !

1 Like

You’re welcome!

1 Like