---
title: AttributeChoicesSortField Enum
seo:
  title: AttributeChoicesSortField Enum
  description: AttributeChoicesSortField Enum - no description
slug: api-reference/attributes/enums/attribute-choices-sort-field
sidebar:
  label: AttributeChoicesSortField
search:
  tags:
    - API reference
    - Attributes
lastModified: '2026-04-13'
---

```graphql
enum AttributeChoicesSortField {
  NAME
  SLUG
}
```


## Values

### NAME [#name]

`NAME`

Sort attribute choice by name.

### SLUG [#slug]

`SLUG`

Sort attribute choice by slug.

## Used by

- [AttributeChoicesSortingInput (inputs)](/api-reference/attributes/inputs/attribute-choices-sorting-input)

---

Schema: **Saleor 3.23.43**. [Download SDL](/schema/saleor.graphql).
