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

# Interface: SortBy

> TypeScript SDK reference

[weave](../) / SortBy

SortBy

## Table of contents

### Properties

* [direction](./sortby#direction)
* [field](./sortby#field)

## Properties

### direction

• **direction**: `"asc"` | `"desc"`

Direction

#### Defined in

[src/generated/traceServerApi.ts:5540](https://github.com/wandb/weave/blob/9591aba8a5e77309ee0858e5ba94d31c1bd7e404/sdks/node/src/generated/traceServerApi.ts#L5540)

***

### field

• **field**: `string`

Field

#### Defined in

[src/generated/traceServerApi.ts:5538](https://github.com/wandb/weave/blob/9591aba8a5e77309ee0858e5ba94d31c1bd7e404/sdks/node/src/generated/traceServerApi.ts#L5538)
