Brep List shuffle

Hey guys!
I am currently struggling with the listsorting of pipeline-objects. I want my objects to be counted from left to rigth (0 to 23), but instead i get a different ordering.
How does the ordering of brep-lists work? how can i change it?


Ordering in general is a very challenging task and in most real-life cases you’ll need code for that.

But in this case is simple: get the centroids order them by, say, c.X value and get the “sorted” breps.

Given the opportunity for radial sort (NOT the Jack for all trades by any means, mind) use this classic way (a concave hull [not convex] Crv is the better curve to use):

Thanks a lot! Problem solved!