From 4e32d33595c4d31e65f5394b0a85ae4cd3c62a89 Mon Sep 17 00:00:00 2001
From: Till Kamppeter <tkamppeter@mandriva.com>
Date: Sun, 12 Aug 2001 22:35:37 +0000
Subject: Lists get only sorted when the "sort" option is given.

---
 perl-install/interactive.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 16bf2ede6..8cd6b0720 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -230,7 +230,7 @@ sub ask_from_entries_refH_powered_normalize {
 
     foreach my $e (@$l) {
 	if (my $l = $e->{list}) {
-	    if ($e->{sort} || @$l > 10 && !exists $e->{sort}) {
+	    if ($e->{sort}) {
 		my @l2 = map { may_apply($e->{format}, $_) } @$l;
 		my @places = sort { $l2[$a] cmp $l2[$b] } 0 .. $#l2;
 		$e->{list} = $l = [ map { $l->[$_] } @places ];
-- 
cgit v1.2.1