sort a list `s` by first and second attributes,"s = sorted(s, key=lambda x: (x[1], x[2]))"