ids.cgi: Sort whitelist entries

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-09-10 11:22:59 +02:00
parent 891702cad1
commit d2f7d18e33

View File

@@ -1253,7 +1253,7 @@ END
my $col = "";
# Loop through all entries of the hash.
while( (my $key) = each %ignored) {
foreach my $key (sort { $ignored{$a}[0] <=> $ignored{$b}[0] } keys %ignored) {
# Assign data array positions to some nice variable names.
my $address = $ignored{$key}[0];
my $remark = $ignored{$key}[1];