@@ -950,7 +950,7 @@
WHERE STATUS = 0
) l ON l.user_name = u.user_name
GROUP BY d.NAME
- ORDER BY d.NAME;
+ ORDER BY d.dept_id ASC;
</select>