Sorting a list of lists in Python,"c2.sort(key=lambda row: (row[2], row[1], row[0]))"