---
url: /set-instructions/sort-by-name-ascending.md
description: Sorts the working set alphabetically by element name, ascending.
---

# Sort By Name (Ascending)

Sorts the working list alphabetically by element name, A to Z. If an alias has been applied via [Set The Alias For The Set](/set-instructions/set-the-alias-for-the-set), the sort uses the alias values instead of the underlying element names.

#### Example

```
1. Element: All Departments
2. Expand All
3. Remove Consolidations
4. Sort By Name (Ascending)
```

Produces a flat, alphabetically-ordered list of every department, regardless of how they're arranged in the underlying hierarchy.

![Sort By Name Ascending and Descending compared against the same unsorted working set](/set-instructions-example-sort-by-name.svg)
