Update compare function for the route sort

Update to fix alphabetical ordering of routes.