fix sort routers