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