private function sortInitializers(): array
    {
        $sortedInitializers = [];
        krsort($this->initializers);

        foreach ($this->initializers as $initializers) {
            $sortedInitializers = array_merge($sortedInitializers, $initializers);
        }

        return $sortedInitializers;
    }
private function sortInitializers(): array
    {
        $sortedInitializers = [];
        krsort($this->initializers);

        foreach ($this->initializers as $initializers) {
            $sortedInitializers = array_merge($sortedInitializers, $initializers);
        }

        return $sortedInitializers;
    }
private function sortInitializers ( ) : array { $ sortedInitializers = [ ] ; krsort ( $ this -> initializers ) ; foreach ( $ this -> initializers as $ initializers ) { $ sortedInitializers = array_merge ( $ sortedInitializers , $ initializers ) ; } return $ sortedInitializers ; }
Sort initializers by priority.

The highest priority number is the highest priority (reverse sorting).

@return InitializerInterface[]
Sort initializers by priority .