sort a list of lists `L` by index 2 of the inner list,"sorted(L, key=itemgetter(2))"