One sort key was not enough?
Sorting by department alone leaves the rows within each department in an arbitrary order. Grouping by department first, then sorting by name as a second level, arranges the whole table neatly by both criteria in a single operation.
You can also sort by cell color, font color, or icon
Beyond alphabetical or numeric order, the "Order" dropdown for each level also offers "Cell Color," "Font Color," and "Cell Icon." This lets you sort rows you've manually highlighted or flagged with conditional formatting icons to the top, which is useful for quickly grouping items you've already marked for attention.
Frequently Asked Questions
How many sort levels can I add?
Excel allows up to 64 sort levels, which is far more than enough for almost any real-world sorting need.
Can I change the order of the levels afterward?
Yes β select a level row in the Sort dialog and click the up or down arrow buttons to change its priority in the sort order.