From 272749a1a94ee99f271a7a0fa65332694c99e68a Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 9 Jul 2015 16:56:45 +0100 Subject: 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 2bd96cd..f4520d4 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 .= <