Sorting points

Hi everyone!
Beam.gh (31.7 KB)

Question, I’m trying to sort points based on either their x or y coordinates, and with what I have right now it looks to work fine but for the first three points. For some reason if sorting it like this it thinks the y of 1600 is smaller than 821? Can anyone help me here?
Thanks in advance!


Beam_re.gh (36.6 KB)

1 Like

Thank you this worked!