modify planned route order functionality