Issue with sorting a list

How can I sort the list of breps such that I select both breps that are on the same level together as they go up vertically?

sort list issue.gh (370.1 KB)

Just do this: flip last path mapping…

image

1 Like

Sorry, I don’t understand. What do you mean by flip last path mapping. I am not very familiar with the path mapper component.

sort list issue_RE.gh (375.8 KB)

2 Likes

Oh I see how that works now! Thank you so much.

I didn’t look at this code but didn’t you already have that in what I posted this morning?

2 Likes

Oh yea you’re right. So sorry that was totally idiotic of me. I had gone to a new part of my code on a large file and therefore I totally forgot about that.