diff --git a/pre-release-builds.php b/pre-release-builds.php
index 59c68ee53..83ccd7209 100644
--- a/pre-release-builds.php
+++ b/pre-release-builds.php
@@ -77,9 +77,15 @@ whether no regressions have been introduced.
Source Builds
- 1 ? 's' : ''; ?>
+ 1 ? 's' : '';
+ ?>
- $info) : ?>
+ $info) : ?>
PHP
@@ -258,6 +264,11 @@ if (is_readable($winQaFile)) {
'builds' => $builds,
];
}
+ if (!empty($winQaReleases)) {
+ usort($winQaReleases, static function ($a, $b) {
+ return version_compare($b['version_label'], $a['version_label']);
+ });
+ }
} else {
$winQaMessage = 'Windows QA release index could not be parsed.';
}