<human>:  Method to sort a list of lists?
<bot>: Here is some code to sort list of lists `L` by the second item in each list

L.sort(key=operator.itemgetter(1))

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