how to sort a list according to another list?,a.sort(key=lambda x: b.index(x[0]))