Sort routes before compile into matchers