aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdescribecomponents.cgi2
-rw-r--r--globals.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/describecomponents.cgi b/describecomponents.cgi
index bce7577d2..ad3467d62 100755
--- a/describecomponents.cgi
+++ b/describecomponents.cgi
@@ -74,7 +74,7 @@ my $colbut1 = $cols - 1;
print "</tr>";
-SendSQL("select value, initialowner, initialqacontact, description from components where program = " . SqlQuote($product));
+SendSQL("select value, initialowner, initialqacontact, description from components where program = " . SqlQuote($product) . " order by value");
while (MoreSQLData()) {
my @row = FetchSQLData();
diff --git a/globals.pl b/globals.pl
index e1e406702..94a4f7402 100644
--- a/globals.pl
+++ b/globals.pl
@@ -222,7 +222,7 @@ sub GenerateVersionTable {
push @{$::versions{$p1}}, $v;
$varray{$v} = 1;
}
- SendSQL("select value, program from components");
+ SendSQL("select value, program from components order by value");
while (@line = FetchSQLData()) {
my ($c,$p) = (@line);
if (!defined $::components{$p}) {