diff --git a/lam/templates/config/confmodules.php b/lam/templates/config/confmodules.php
index 93ce6885..7523284e 100644
--- a/lam/templates/config/confmodules.php
+++ b/lam/templates/config/confmodules.php
@@ -236,6 +236,11 @@ function config_showAccountModules($scope, $title) {
else {
$selected = array();
}
+ $sortedAvailable = array();
+ for ($i = 0; $i < sizeof($available); $i++) {
+ $sortedAvailable[$available[$i]] = getModuleAlias($available[$i], $scope);
+ }
+ natcasesort($sortedAvailable);
// show account modules
$icon = ' ';
@@ -278,16 +283,16 @@ function config_showAccountModules($scope, $title) {
echo "