sorting while preserving order in python,"a_order, a_sorted = zip(*sorted(enumerate(a), key=lambda item: item[1]))"