protected function sortCommands(array &$commands): void
    {
        usort(
            $commands,
            function (Command $item1, Command $item2) {
                return $item1->getName() <=> $item2->getName();
            }
        );
    }