reorder list solution