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

# WalletTokenRanking

> Sort criterion for the filterTokenWallets query.

### TypeScript shape

```ts theme={null}
interface WalletTokenRanking {
  attribute: WalletTokenRankingAttribute;
  direction: RankingDirection;
}
```

<ResponseField name="attribute" type="WalletTokenRankingAttribute!">The field to sort by. See [WalletTokenRankingAttribute](/api-reference/graphql/types/WalletTokenRankingAttribute).</ResponseField>
<ResponseField name="direction" type="RankingDirection!">Sort direction: `ASC` or `DESC`. See [RankingDirection](/api-reference/graphql/types/RankingDirection).</ResponseField>
