code: function $$route$recognizer$$sortSolutions(states) {
        return states.sort(function(a, b) {
          return b.specificity.val - a.specificity.val;
        });
      }
docs: IF DEBUG
  function debug(log) {
  console.log(log);
  }
  
  function debugState(state) {
  return state.nextStates.map(function(n) {
  if (n.nextStates.length === 0) { return "( " + n.debug() + " [accepting] )"; }
  return "( " + n.debug() + " <then> " + n.nextStates.map(function(s) { return s.debug() }).join(" or ") + " )";
  }).join(", ")
  }
  END IF * Sort the routes by specificity