--- title: ProductCollectionSortKeys - Storefront API description: The set of valid sort keys for the ProductCollection query. api_version: 2025-01 api_name: storefront type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/2025-01/enums/productcollectionsortkeys md: https://shopify.dev/docs/api/storefront/2025-01/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(sortKey)](https://shopify.dev/docs/api/storefront/2025-01/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/2025-01/objects/Collection#field-Collection.fields.products.arguments.sortKey)