Sorting Geometry Indices

Hi,

I’m trying to select the geometry in 2 separate lists. The problem however is that the items in the tree are not sorted properly. I want to select half of the items (from 0 to 12) but the items 0 and 1 are in the other half at the wrong location. I have sorted their mid points properly but I don’t know how to sort the geometry itself.

Thanks in advance!



Sorting Geometry.gh (20.6 KB)

This will sort your curves.

Sorting Geometry_re.gh (23.6 KB)

-Kevin

1 Like

One more option:


Sorting Geometry.gh (24.7 KB)

1 Like