Sort points in Grid

Hi all. I do have a situation where I do need to sort a bunch of points into a grid and I do tried a lot of things but I can’t find a proper way to do so. I do need to sort the points to match the grid structure.

Sort points in grid.gh (10.6 KB)

looks like your points are already sorted :slight_smile:
Trim tree to trim one branch and make the sorting appear


Sort points in grid_Re.gh (9.4 KB)

on a side note, when compared to the arrays of rectangles, one point is missing here

1 Like

One point it is missing because the points are the centers of some geometries I do need to place into the grid.

1 Like