Sort the list of users or groups in macOS Server
It’s easy to sort the list of users or groups by name, account name, type, or directory.
Name refers to the user’s or group’s full name, and account refers to the user’s or group’s short name. The type can be administrator. The Directory shows which directory the user belongs to.
In the Server app sidebar, select Groups, then click a column title to sort by that category.