Sort matchers by priority.
The highest priority number is the highest priority (reverse sorting).
\Symfony\Component\Routing\RequestMatcherInterface[] An array of Matcher objects in the order they should be used.
protected function sortMatchers() {
$sortedMatchers = array();
krsort($this->matchers);
foreach ($this->matchers as $matchers) {
$sortedMatchers = array_merge($sortedMatchers, $matchers);
}
return $sortedMatchers;
}