This should be pretty strait forward. Input you numbers It sorts them while also sorting the set below it based on how it sorts the numbers… Right? Instead It is correctly sorting the numbers but not the set below it. The goal is to have a line from the center of each of the smallest surfaces.

I took the area of a set of 6 surfaces. Then I plugged the area into the sort component and the points from the area component into the second sort section.

Sorting Issue.gh (8.2 KB)

In Grasshopper list indices start at 0.

So the first item in your list is item 0 and the second is item 1.

This kind of zero-based numbering is common in programming languages.

1 Like

I should have caught that