---
title: CollectionSortField Enum
seo:
  title: CollectionSortField Enum
  description: CollectionSortField Enum - no description
slug: api-reference/products/enums/collection-sort-field
sidebar:
  label: CollectionSortField
search:
  tags:
    - API reference
    - Products
lastModified: '2026-04-13'
---

```graphql
enum CollectionSortField {
  NAME
  AVAILABILITY
  PRODUCT_COUNT
  PUBLICATION_DATE @deprecated(reason: "Use `PUBLISHED_AT` instead.")
  PUBLISHED_AT
}
```


## Values

### NAME [#name]

`NAME`

Sort collections by name.

### AVAILABILITY [#availability]

`AVAILABILITY`

Sort collections by availability.

This option requires a channel filter to work as the values can vary between channels.

### PRODUCT_COUNT [#product-count]

`PRODUCT_COUNT`

Sort collections by product count.

### PUBLICATION_DATE [#publication-date]

`PUBLICATION_DATE`

Sort collections by publication date.

This option requires a channel filter to work as the values can vary between channels.

:::warning[Deprecated]
Use `PUBLISHED_AT` instead.
:::


### PUBLISHED_AT [#published-at]

`PUBLISHED_AT`

Sort collections by published at.

This option requires a channel filter to work as the values can vary between channels.

## Used by

- [CollectionSortingInput (inputs)](/api-reference/products/inputs/collection-sorting-input)

---

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