# GetLibraryItemsLibrarySort

## Example Usage

```typescript
import { GetLibraryItemsLibrarySort } from "@lukehagar/plexjs/sdk/models/operations";

let value: GetLibraryItemsLibrarySort = {
  default: "asc",
  active: false,
  descKey: "titleSort:desc",
  firstCharacterKey: "/library/sections/2/firstCharacter",
  key: "titleSort",
  title: "Title",
};
```

## Fields

| Field                                                                                                                         | Type                                                                                                                          | Required                                                                                                                      | Description                                                                                                                   | Example                                                                                                                       |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `default`                                                                                                                     | *string*                                                                                                                      | :heavy_minus_sign:                                                                                                            | N/A                                                                                                                           | asc                                                                                                                           |
| `active`                                                                                                                      | *boolean*                                                                                                                     | :heavy_minus_sign:                                                                                                            | N/A                                                                                                                           | false                                                                                                                         |
| `activeDirection`                                                                                                             | [operations.GetLibraryItemsLibraryActiveDirection](../../../sdk/models/operations/getlibraryitemslibraryactivedirection.md)   | :heavy_minus_sign:                                                                                                            | The direction of the sort. Can be either `asc` or `desc`.<br/>                                                                | asc                                                                                                                           |
| `defaultDirection`                                                                                                            | [operations.GetLibraryItemsLibraryDefaultDirection](../../../sdk/models/operations/getlibraryitemslibrarydefaultdirection.md) | :heavy_minus_sign:                                                                                                            | The direction of the sort. Can be either `asc` or `desc`.<br/>                                                                | asc                                                                                                                           |
| `descKey`                                                                                                                     | *string*                                                                                                                      | :heavy_minus_sign:                                                                                                            | N/A                                                                                                                           | titleSort:desc                                                                                                                |
| `firstCharacterKey`                                                                                                           | *string*                                                                                                                      | :heavy_minus_sign:                                                                                                            | N/A                                                                                                                           | /library/sections/2/firstCharacter                                                                                            |
| `key`                                                                                                                         | *string*                                                                                                                      | :heavy_check_mark:                                                                                                            | N/A                                                                                                                           | titleSort                                                                                                                     |
| `title`                                                                                                                       | *string*                                                                                                                      | :heavy_check_mark:                                                                                                            | N/A                                                                                                                           | Title                                                                                                                         |