oh ok, i forgot sorted will sort by the first index of tuples, and since there are no duplicate values, it ignores the other index