human
Sorting a list of lists in Python
assistant
Here is some code to sort a list of lists 'c2' such that third row comes first

c2.sort(key=lambda row: row[2])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.