From: Nicholas Clark Date: Thu, 20 Jan 2005 13:20:50 +0000 (+0000) Subject: A little more determinacy in our sorting X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=22469dce3421188b4dd09799e1b6e780001201ca;p=p5sagit%2Fp5-mst-13.2.git A little more determinacy in our sorting p4raw-id: //depot/perl@23835 --- diff --git a/autodoc.pl b/autodoc.pl index c106408..6126f9f 100644 --- a/autodoc.pl +++ b/autodoc.pl @@ -220,7 +220,8 @@ my $key; for $key (sort { uc($a) cmp uc($b) || $a cmp $b } keys %apidocs) { my $section = $apidocs{$key}; print DOC "\n=head1 $key\n\n=over 8\n\n"; - for my $key (sort { uc($a) cmp uc($b); } keys %$section) { + # Again, fallback for determinacy + for my $key (sort { uc($a) cmp uc($b) || $a cmp $b } keys %$section) { docout(\*DOC, $key, $section->{$key}); } print DOC "\n=back\n";