diff --git a/phpBB/phpbb/composer/installer.php b/phpBB/phpbb/composer/installer.php index 1ba3ed42a2..ab1af35525 100644 --- a/phpBB/phpbb/composer/installer.php +++ b/phpBB/phpbb/composer/installer.php @@ -383,7 +383,10 @@ class installer } } - ksort($available); + usort($available, function($a, $b) + { + return strcmp($a['display_name'], $b['display_name']); + }); return $available; }