src/EventDispatch/Dispatcher.php
public function sortSubscribers($eventName)
    {
        $this->sorted[$eventName] = array();
        if (isset($this->eventList[$eventName])) {
            krsort($this->eventList[$eventName]);
            $this->sorted[$eventName] = call_user_func_array('array_merge', $this->eventList[$eventName]);
        }

        return $this->sorted[$eventName];
    }
public function sortSubscribers($eventName)
    {
        $this->sorted[$eventName] = array();
        if (isset($this->eventList[$eventName])) {
            krsort($this->eventList[$eventName]);
            $this->sorted[$eventName] = call_user_func_array('array_merge', $this->eventList[$eventName]);
        }

        return $this->sorted[$eventName];
    }
public function sortSubscribers ( $ eventName ) { $ this -> sorted [ $ eventName ] = array ( ) ; if ( isset ( $ this -> eventList [ $ eventName ] ) ) { krsort ( $ this -> eventList [ $ eventName ] ) ; $ this -> sorted [ $ eventName ] = call_user_func_array ( 'array_merge' , $ this -> eventList [ $ eventName ] ) ; } return $ this -> sorted [ $ eventName ] ; }
Sort Subscribers in reverse priority order - higher priority first

@param $eventName

@return mixed
Sort Subscribers in reverse priority order - higher priority first