Sorting a list of points with y values

Thanks for the context! I think this should do the trick:

To sort by “closest to 0,” I tweaked the original list by taking the absolute value of the y-coordinates.