human
sort a list of lists by a specific index
assistant
Here is some code to sort a list of lists `list_to_sort` by indices 2,0,1 of the inner list

sorted_list = sorted(list_to_sort, key=itemgetter(2, 0, 1))

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