# SortConfig

***

Configuration for sorting data by a specific attribute

## Properties

### direction

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

The direction to sort in

***

### attribute

> **attribute**: `string`

The attribute to sort by. What this represents depends on the context.\
For instance, when sorting features in a data table, the attribute is\
the column to sort by.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.felt.com/js-sdk-api-reference/shared/sortconfig.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
