From eb8cfe7c39ab2e3ad622da3e2ac92698fcec40f8 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sat, 20 Aug 2016 10:23:16 +0000 Subject: [PATCH] commandref_modular.pl: sort by lowercase git-svn-id: https://svn.fhem.de/fhem/trunk@12010 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/commandref_modular.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/contrib/commandref_modular.pl b/fhem/contrib/commandref_modular.pl index f33891669..271d964f2 100644 --- a/fhem/contrib/commandref_modular.pl +++ b/fhem/contrib/commandref_modular.pl @@ -88,7 +88,7 @@ EOF } print OUT "\n"; my $rc = "odd"; - for my $m (sort keys %modData) { + for my $m (sort {uc($a) cmp uc($b)} keys %modData) { next if(!$modData{$m}{type} || $modData{$m}{type} ne $type); my $d = $modData{$m}{"summary$sfx"}; if(!$d) {