Sort surfaces by X coordinate

Hello everyone,

I am looking for a way to sort surfaces by X coordinate without using shift list, because the number of surfaces are variable. Any way to do this? Thanks in advance.

Sort surface.gh (9.0 KB)


Sort surface_reV1.gh (9.4 KB)

Try this
Sort surface-RE.gh (9.8 KB)

you’er always on time :slightly_smiling_face:

check it out

in this plugin you can sort Points , Curves , and surfaces by X,Y,Z, Length , Area

Thanks both of you!!!