debug/handlers/Exception.php
protected function sort(array &$delegates) : self
    {
        uasort($delegates, function($a, $b) {
            return $b['priority'] - $a['priority'];
        });

        return $this;
    }
protected function sort(array &$delegates) : self
    {
        uasort($delegates, function($a, $b) {
            return $b['priority'] - $a['priority'];
        });

        return $this;
    }
protected function sort ( array & $ delegates ) : self { uasort ( $ delegates , function ( $ a , $ b ) { return $ b [ 'priority' ] - $ a [ 'priority' ] ; } ) ; return $ this ; }
Sorts the given Delegates by their priority, highest first.

@param   array   &$delegates  The Delegates to sort.
@return  $this
Sorts the given Delegates by their priority highest first .