Python sort parallel arrays in place?,"perm = sorted(range(len(foo)), key=lambda x: foo[x])"