change order of paths