Grouping a set of points so they are the same Y or X coordinates

Hello,

I gathered a list of points based on Cellular Automation and I’m now trying to group those points into separate lists based on their Y or X coordinates. The Grasshopper file is attached bellow. If anyone could help that would be helpful!
CellularAutoMata_Test01.gh (11.1 KB)

CellularAutoMata_Test01-b2.gh (20.1 KB)

Edit: I realized that there was a problem with x/y sorting. This should work fine.

1 Like

Thank you! This is exactly what I want

Check my update. The path assignment on the previous version was off.