Use leptus_router:sort_dispatch/1 to sort routes