From: Frank Lichtenheld Date: Thu, 12 Apr 2007 21:52:55 +0000 (+0200) Subject: Page.pm: Let get_version_string sort architectures alphabetically X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=5ca559979f5074ae784d83a401b7dcb51e98317d;p=deb%2Fpackages.git Page.pm: Let get_version_string sort architectures alphabetically --- diff --git a/lib/Packages/Page.pm b/lib/Packages/Page.pm index 7c3ed67..27c3f36 100644 --- a/lib/Packages/Page.pm +++ b/lib/Packages/Page.pm @@ -243,7 +243,7 @@ sub get_version_string { my @v_str_arch; foreach ( @versions ) { push @v_str, [ $_, $versions->{$_} ]; - push @v_str_arch, "$_ [".join(', ', @{$versions->{$_}})."]"; + push @v_str_arch, "$_ [".join(', ', sort @{$versions->{$_}})."]"; } $v_str_arch = join( ", ", @v_str_arch ); $v_str = join( ", ", @versions );