You don’t need the nested loop/list comprehension, can get there with just sorted():
sorted()
181011_SortPointsByY_00.gh (4.1 KB)