diff --git a/src/Console/Command/AddCommand.php b/src/Console/Command/AddCommand.php index 3463731..4eddf80 100644 --- a/src/Console/Command/AddCommand.php +++ b/src/Console/Command/AddCommand.php @@ -120,6 +120,7 @@ protected function getOrganization(InputInterface $input, OutputInterface $outpu protected function getProject(InputInterface $input, OutputInterface $output) { $helper = $this->getHelper('question'); $projects = [self::UNDEFINED_PROJECT_KEY => self::UNDEFINED_PROJECT]; + ksort($this->contributions['projects']); foreach ($this->contributions['projects'] as $project_key => $project) { $projects[$project_key] = $project['name']; }