switches reorder