diff --git a/whm/gniza-whm/restore.cgi b/whm/gniza-whm/restore.cgi index 44ee469..0df83e0 100644 --- a/whm/gniza-whm/restore.cgi +++ b/whm/gniza-whm/restore.cgi @@ -228,7 +228,7 @@ sub handle_step2 { print qq{ Snapshot\n}; if (@snapshots) { print qq{ \n}; - for my $snap (reverse @snapshots) { + for my $snap (sort { $b cmp $a } @snapshots) { my $esc = GnizaWHM::UI::esc($snap); print qq{ $esc\n}; }