From Active Users, you can search for, sort, and filter the users to display those you need.
Sorting the results is accomplished by clicking the heading of the column you want to sort by. Clicking the heading will produce a chevron next to its title, with the direction indicating ascending (points up) or descending (points down). In our experience, it's not possible to have a primary and secondary sort. However, this could be accomplished with either Excel or PowerShell.
Filtering the user list can be done using the Views drop-down. Here's a list of all the default views:
- All users: The entire directory
- Licensed users: Users with at least one Office 365 product SKU
- Guest users: Users from outside your organization ...