reorder path