solution to Reorder List