diff --git a/modules/admin/lib/Controller/Config.php b/modules/admin/lib/Controller/Config.php
index aeba9b7e9edc94689072e589678130c0a8aaf608..8d30a2d2b5cb97a18e26f0b51d8d5ee0b45eeee6 100644
--- a/modules/admin/lib/Controller/Config.php
+++ b/modules/admin/lib/Controller/Config.php
@@ -155,6 +155,7 @@ class Config
         foreach ($modules as $module) {
             $modulestates[$module] = Module::isModuleEnabled($module);
         }
+        ksort($modulestates);
         return $modulestates;
     }