protected function sort() { $matchers = array(); krsort($this->matchers); foreach ($this->matchers as $collection) { $matchers = array_merge($matchers, $collection); } return $matchers; }