public function sortInjections($group = null)
    {
        if ($group) {
            usort($this->groupedInjections[$group], [$this, 'sortInjection']);
        } else {
            foreach ($this->groupedInjections as $injections) {
                usort($injections, [$this, 'sortInjection']);
            }
        }
    }