reordering the list