Usage:
m.route( document.body, '/', _sortRoutes( myRoutesObject ) );
This would qualify as a fully sorted route-list:
relative/path
(<-- makes little sense, but hey)/
/static
/static/static
/static/static?silly=query
/static/static/static
/static/:variable
/static/:variable/:variable2
/static/:gobble...
/:variable/static
/:variable/static/
/:gobble...
:gobble...
So where should the route
/static:variable
(note the lack of "/" delimeter) land in the sorted list above?Should we even care?