Syntax fix of sorting groups/users