sort a list of tuples `b` by third item in the tuple,b.sort(key=lambda x: x[1][2])