diff --git a/webui/policy-main.php b/webui/policy-main.php index dc9132c131e00200d7440240a238e6315c6429b8..5f98ebdf906ace50a57987a138ce67d9aeb29682 100644 --- a/webui/policy-main.php +++ b/webui/policy-main.php @@ -74,7 +74,7 @@ if (!isset($_POST['frmaction'])) <td class="textcenter">Disabled</td> </tr> <?php - $sql = "SELECT ID, Username, Disabled FROM ${DB_TABLE_PREFIX}users ORDER BY Username ASC"; + $sql = "SELECT ID, Username, Disabled FROM ${DB_TABLE_PREFIX}users ORDER BY ID ASC"; $res = $db->query($sql); while ($row = $res->fetchObject()) {