Cannot sort points and connect them vertically

hi everyone , i’h used grasshopper for a short time a few years ago and left it and now i am back with it again, trying to achieve a parametric wall , i couldn’t figure out how to correctly connect points vertically , i have a copy of points using series, it is like having duplicate indexes… i will attach the file and i will be really grateful if you help me with this … thanks
grasshopper (11.7 KB)

Like this?

grasshopper (13.5 KB)

1 Like

I’m really grateful for your decent solution … thanks a lot …