From ebc8bc84498e690b46b1dfc74180838eec53353e Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 4 Apr 2021 14:04:41 -0400 Subject: Reproducible build --- messages.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messages.pl b/messages.pl index 1b81767..574d439 100644 --- a/messages.pl +++ b/messages.pl @@ -51,7 +51,7 @@ while() { $total_in += (1 + length); my $dict_used = 0; - for my $dk (sort { length $b <=> length $a } keys %dictionary) { + for my $dk (sort { length $b <=> length $a || $a cmp $b } keys %dictionary) { if(s/$dk/$dictionary{$dk}/g) { $dict_used = 1; } -- cgit v1.2.3