From 2a7059c56f885a3fa0842e886f5178def8e5481d 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 --- util/mkstack.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/mkstack.pl b/util/mkstack.pl index 2bd96cd0c1..f4520d4dd3 100755 --- a/util/mkstack.pl +++ b/util/mkstack.pl @@ -98,7 +98,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 .= <