def sort_potentials(potentials, use_copy=True):
    if use_copy:
        potentials = copy.deepcopy(potentials)
    potentials = list(sorted(potentials, key=lambda x: x['angular_momentum']))
    potentials.insert(0, potentials.pop())
    return potentials