--- title: ProductCollectionSortKeys - Storefront API description: The set of valid sort keys for the ProductCollection query. api_version: unstable api_name: storefront source_url: html: https://shopify.dev/docs/api/storefront/unstable/enums/ProductCollectionSortKeys md: https://shopify.dev/docs/api/storefront/unstable/enums/ProductCollectionSortKeys.md --- # Product​Collection​Sort​Keys enum The set of valid sort keys for the ProductCollection query. ## Valid values * BEST\_​SELLING Sort by the `best-selling` value. * COLLECTION\_​DEFAULT Sort by the `collection-default` value. * CREATED Sort by the `created` value. * ID Sort by the `id` value. * MANUAL Sort by the `manual` value. * PRICE Sort by the `price` value. * RELEVANCE Sort by relevance to the search terms when the `query` parameter is specified on the connection. Don't use this sort key when no search query is specified. * TITLE Sort by the `title` value. *** ## Fields * [Collection.​products](https://shopify.dev/docs/api/storefront/unstable/objects/Collection#field-Collection.fields.products.arguments.sortKey) ARGUMENT A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. *** ## Map ### Arguments with this enum * <-|[Collection.products(sortKey)](https://shopify.dev/docs/api/storefront/unstable/objects/Collection#field-Collection.fields.products.arguments.sortKey)