Update to sort the list if disordered.