aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/cat_perm.php1
-rw-r--r--admin/group_list.php2
-rw-r--r--admin/user_list.php1
3 files changed, 3 insertions, 1 deletions
diff --git a/admin/cat_perm.php b/admin/cat_perm.php
index 3782d7190..39b9362bb 100644
--- a/admin/cat_perm.php
+++ b/admin/cat_perm.php
@@ -229,6 +229,7 @@ $groups = array();
$query = '
SELECT id, name
FROM '.GROUPS_TABLE.'
+ ORDER BY name ASC
;';
$result = pwg_query($query);
diff --git a/admin/group_list.php b/admin/group_list.php
index ccb5a5b80..c5bd7ac70 100644
--- a/admin/group_list.php
+++ b/admin/group_list.php
@@ -168,7 +168,7 @@ $template->assign_vars(
$query = '
SELECT id, name, is_default
FROM '.GROUPS_TABLE.'
- ORDER BY id ASC
+ ORDER BY name ASC
;';
$result = pwg_query($query);
diff --git a/admin/user_list.php b/admin/user_list.php
index bef1005fb..57d1788a1 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -429,6 +429,7 @@ $groups = array();
$query = '
SELECT id, name
FROM '.GROUPS_TABLE.'
+ ORDER BY name ASC
;';
$result = pwg_query($query);