Reorder PATH by priority