Oops, but at least it was mostly harmless, just ugly.
Followup-to: 9bfe40e7a4ac 'nntp: use "newsgroup" instead of "name"''
- @list = sort { $a->{name} cmp $b->{name} } @list;
+ @list = sort { $a->{newsgroup} cmp $b->{newsgroup} } @list;
$self->{grouplist} = \@list;
# this will destroy old groups that got deleted
%{$self->{groups}} = %$new;
$self->{grouplist} = \@list;
# this will destroy old groups that got deleted
%{$self->{groups}} = %$new;