# by-dsnd modifier

The by-dsnd modifier designates a sort
key, in descending order and must be followed by an attribute name.
It may be used with any command that lists or selects items, such
as list or select.

## Syntax

```
by-dsnd attr.name{by-dsnd attr.name...}
```
Note: If by-dsnd is provided with a command
that does not naturally sort (such as the list command),
the command is changed to its sorting counterpart (for example, list becomes sort, select becomes sselect, and so on).

## Example(s)

```
list invoices by-dsnd amount.due
```

## See also

- [break-on modifier](https://d3codex.com/access/break-on-modifier/)
- [by modifier](https://d3codex.com/access/by-modifier/)
- [by-exp modifier](https://d3codex.com/access/by-exp-modifier/)
- [by-exp-dsnd modifier](https://d3codex.com/access/by-exp-dsnd-modifier/)
- [Modifiers](https://d3codex.com/access/modifiers/)
- [sort command](https://d3codex.com/access/sort-command/)

---
Source: https://d3codex.com/access/by-dsnd-modifier/ - part of the D3Codex reference.
