Ordering brep faces

Hello, I am trying to sort these faces into an orderly pattern. Rite now faces are not arranged in order. I tried to sort center points by x and y coordinates using sort key component but failed to sort these surfaces. Can you please guide me how can I get all these faces in order.

Thank you.

Please upload Gh file with internalize data.

Here is a trick to sort points in X then Y …

parlellogram grid.gh (13.5 KB)

parlellogram_grid_re.gh (15.4 KB)

hope it helps~

1 Like

Thanks a lot ! it will surely help and open my mind towards solutions you have provided.