diff --git a/resources/switch.php b/resources/switch.php index 5d6669770d..a9c0811dae 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -392,7 +392,7 @@ function save_module_xml() { $xml .= " \n"; $sql = "select * from v_modules "; - $sql .= "order by module_order ASC "; + $sql .= "order by module_order ASC, "; $sql .= "module_category ASC"; $prep_statement = $db->prepare(check_sql($sql)); $prep_statement->execute();