Route order optimization