bundle/Action/ActionRegistry.php
protected function prepareActions()
    {
        usort($this->actions, function ($one, $two) {
            if ($one['priority'] === $two['priority']) {
                return 0;
            }

            return ($one['priority'] > $two['priority']) ? -1 : 1;
        });
    }
protected function prepareActions()
    {
        usort($this->actions, function ($one, $two) {
            if ($one['priority'] === $two['priority']) {
                return 0;
            }

            return ($one['priority'] > $two['priority']) ? -1 : 1;
        });
    }
protected function prepareActions ( ) { usort ( $ this -> actions , function ( $ one , $ two ) { if ( $ one [ 'priority' ] === $ two [ 'priority' ] ) { return 0 ; } return ( $ one [ 'priority' ] > $ two [ 'priority' ] ) ? - 1 : 1 ; } ) ; }
Sorts actions by priority.
Sorts actions by priority .