about summary refs log tree commit homepage
path: root/lib/PublicInbox/IMAPD.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/IMAPD.pm')
-rw-r--r--lib/PublicInbox/IMAPD.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/PublicInbox/IMAPD.pm b/lib/PublicInbox/IMAPD.pm
index fe50de0f..09bedf5c 100644
--- a/lib/PublicInbox/IMAPD.pm
+++ b/lib/PublicInbox/IMAPD.pm
@@ -74,11 +74,6 @@ sub imapd_refresh_finalize {
                         my $u = $_; # capitalize "INBOX" for user-familiarity
                         $u =~ s/\Ainbox(\.|\z)/INBOX$1/i;
                         qq[* LIST (\\Has${no}Children) "." $u\r\n]
-                } sort {
-                        # shortest names first, alphabetically if lengths match
-                        length($a) == length($b) ?
-                                ($a cmp $b) :
-                                (length($a) <=> length($b))
                 } keys %$mailboxes
         ];
         $imapd->{pi_config} = $pi_config;