human
Sort a list by multiple attributes?
assistant
Here is some code to sort a list of lists `s` by second and third element in each list.

s.sort(key=operator.itemgetter(1, 2))

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