import { type RouteComparator } from "https://deno.land/x/http_fns@v0.0.27/discover_routes.ts";
Compare two routes to determine ordering of the discovered routes.
If a
is a higher priority route than b
, then this should return a negative number,
otherwise positive if lower, or zero if the priority is equal or indeterminate.
Comparison maybe based on the pattern and/or the module of the route.
definition: (a: ComparableRoute, b: ComparableRoute) => number