# Sort Key

## Supported `sortKey` names / `--sort-key` argument values

| Name/Value             | Description               | Default for formats                               |
| ---------------------- | ------------------------- | ------------------------------------------------- |
| `headword`             | Headword                  |                                                   |
| `headword_lower`       | Lowercase Headword        | All other formats (given `--sort`)                |
| `headword_bytes_lower` | ASCII-Lowercase Headword  |                                                   |
| `stardict`             | StarDict                  | [StarDict](./p/stardict.md)                       |
| `ebook`                | E-Book (prefix length: 2) | [EPUB-2](./p/epub2.md), [Mobipocket](./p/mobi.md) |
| `ebook_length3`        | E-Book (prefix length: 3) |                                                   |
| `dicformids`           | DictionaryForMIDs         | [DictionaryForMIDs](./p/dicformids.md)            |
| `random`               | Random                    |                                                   |
