reorder endpoints