refactor reorderList