Is there a python method to re-order a list based on the provided new indices?,L = [L[i] for i in ndx]