> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# HoldersInputSort

> HoldersInputSort input type. Reference for the HoldersInputSort input object in the Codex API: every field, its type, and the operations that accept it.

## GraphQL

```
input HoldersInputSort {
  attribute: HoldersSortAttribute
  direction: RankingDirection
}

enum HoldersSortAttribute {
  BALANCE
}

enum RankingDirection {
  ASC
  DESC
}
```

### Used By

**Used as input by**

* [holders](https://docs.codex.io/api-reference/queries/holders.md): Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.