diff --git a/apache/apache-lib.pl b/apache/apache-lib.pl index da53ee4c8..3935587ab 100644 --- a/apache/apache-lib.pl +++ b/apache/apache-lib.pl @@ -420,7 +420,7 @@ if ($incdir =~ /^(.*)\[\^([^\]]+)\](.*)$/) { local $accept = join("", grep { !$reject{$_} } map { chr($_) } (32 .. 126)); $incdir = $before."[".$accept."]".$after; } -return glob($incdir); +return sort { $a cmp $b } glob($incdir); } # get_virtual_config(index)