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.
These are the point locations of the surface centroids in the file you uploaded. As you can see, if you use them directly as a sorting criteria you get undesired results.
The method provided by @parametriccuriosity works with the file you provided, but there are times it can produce unexpected results.
If all you want to do is sort the surfaces, you can get good results with fewer components by using the Sort Points component but you may need to round the values of the centroids.
Here is a test file showing what I’m trying to describe:
If you want to group your data, the method shown by @parametriccuriosity works good but I would recommend rounding the data you’re using for the grouping and sorting criteria to avoid unexpected results.