> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/attributes/llms.txt)
> Source: https://docs.saleor.io/api-reference/attributes/enums/attribute-sort-field

# AttributeSortField Enum

No description

<a id="values"></a>

### Values

<a id="name"></a>

#### [`NAME`](#name)

Sort attributes by name

<a id="slug"></a>

#### [`SLUG`](#slug)

Sort attributes by slug

<a id="value-required"></a>

#### [`VALUE_REQUIRED`](#value-required)

Sort attributes by the value required flag

<a id="is-variant-only"></a>

#### [`IS_VARIANT_ONLY`](#is-variant-only)

Sort attributes by the variant only flag

<a id="visible-in-storefront"></a>

#### [`VISIBLE_IN_STOREFRONT`](#visible-in-storefront)

Sort attributes by visibility in the storefront

Show deprecatedHide deprecated

<a id="filterable-in-storefront"></a>

#### [`FILTERABLE_IN_STOREFRONT`](#filterable-in-storefront)

DEPRECATED

This flag is not used by Saleor. Keep the logic in the storefront or use `Attribute` metadata instead.

Sort attributes by the filterable in storefront flag

<a id="filterable-in-dashboard"></a>

#### [`FILTERABLE_IN_DASHBOARD`](#filterable-in-dashboard)

DEPRECATED

This flag is not used by Saleor. Keep the logic in the dashboard or use `Attribute` metadata instead.

Sort attributes by the filterable in dashboard flag

<a id="storefront-search-position"></a>

#### [`STOREFRONT_SEARCH_POSITION`](#storefront-search-position)

DEPRECATED

This flag is not used by Saleor. Keep the logic in the storefront or use `Attribute` metadata instead.

Sort attributes by their position in storefront

<a id="available-in-grid"></a>

#### [`AVAILABLE_IN_GRID`](#available-in-grid)

DEPRECATED

This flag is not used by Saleor. Keep the logic in the storefront or use `Attribute` metadata instead.

Sort attributes based on whether they can be displayed or not in a product grid.

<a id="member-of"></a>

### Member Of

[`AttributeSortingInput`](/api-reference/attributes/inputs/attribute-sorting-input.md) input
