sorting list of tuples by arbitrary key,"sorted(mylist, key=lambda x: order.index(x[1]))"