diff options
Diffstat (limited to 'agesinceseen-summary')
-rw-r--r-- | agesinceseen-summary | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agesinceseen-summary b/agesinceseen-summary index 4bfed75..eac1b82 100644 --- a/agesinceseen-summary +++ b/agesinceseen-summary @@ -58,7 +58,7 @@ sub print_summary { for my $group (sort { $a <=> $b; } keys %agedist) { printf(" %-20s %5d\n", $agegroup{$group}, scalar @{$agedist{$group}}); if (exists $opts{l}) { - for my $hostid (@{$agedist{$group}}) { + for my $hostid (sort @{$agedist{$group}}) { my $hostname = get_hostname($hostid); my $site = get_site($hostid) || ""; my $sitegroup = get_sitegroup($hostid) || ""; |