In my desmos graph Untitled Graph | Desmos all the points are rendered in a pretty random order because I am just generating random numbers. Anyway, what I need to do is sort the list (l_ist) from least to greatest by teh Y values, which I attempted to do for a few hours, reading a few reddit posts and talking to AIs, and I still cannot figure out how to do this, so can someone please help? I would be very grateful. just doing \sort(l_{ist}.y) does not work because it doesn’t rearrange the x in the same way, I also tried to do this by finding permutations, which should work, only if I can figure that out, which I cannot.
Also how do you reverse the order of a list.