> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-update-reference-docs-59.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SortBy

> TypeScript SDK reference

SortBy

## Table of contents

### Properties

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

## Properties

### direction

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

Direction

#### Defined in

[src/generated/traceServerApi.ts:5863](https://github.com/wandb/weave/blob/d5e11acb4bb292878563e3dca68e95312f03b6af/sdks/node/src/generated/traceServerApi.ts#L5863)

***

### field

• **field**: `string`

Field

#### Defined in

[src/generated/traceServerApi.ts:5861](https://github.com/wandb/weave/blob/d5e11acb4bb292878563e3dca68e95312f03b6af/sdks/node/src/generated/traceServerApi.ts#L5861)
