aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index fa211588..ffe4fe04 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -865,7 +865,7 @@ or you already installed all of them."));
#- we populate all the groups tree at first
%$elems = ();
# better loop on packages, create groups tree and push packages in the proper place:
- foreach my $pkg (@elems) {
+ foreach my $pkg (sort @elems) {
my $grp = $pkg->[1];
add_parent($grp);
$elems->{$grp} ||= [];