Reorder path variable