From a15ba3cca394d69dc57b4321902adbe2651bc6f0 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 9 Jul 2015 16:56:45 +0100 Subject: [PATCH] Sort @sstacklst correctly. Reviewed-by: Rich Salz (cherry picked from commit 2a7059c56f885a3fa0842e886f5178def8e5481d) --- util/mkstack.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/mkstack.pl b/util/mkstack.pl index f708610a78..a86d91f67e 100755 --- a/util/mkstack.pl +++ b/util/mkstack.pl @@ -97,7 +97,7 @@ while() { EOF } - foreach $type_thing (sort @sstacklst) { + foreach $type_thing (sort { $a->[0] cmp $b->[0]} @sstacklst) { my $t1 = $type_thing->[0]; my $t2 = $type_thing->[1]; $new_stackfile .= <