summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/query.cgi b/query.cgi
index a05d4034b..be0462d8d 100755
--- a/query.cgi
+++ b/query.cgi
@@ -154,7 +154,7 @@ foreach my $product (@selectable_products) {
$milestones{$_->name} = 1 foreach (@{$product->milestones});
}
-my @components = sort(keys %components);
+my @components = sort { lc($a) cmp lc($b) } keys %components;
my @versions = sort { vers_cmp (lc($a), lc($b)) } keys %versions;
my @milestones = sort(keys %milestones);