--- title: ProductSortKeys - GraphQL Admin description: The set of valid sort keys for the Product query. api_version: 2025-10 api_name: admin type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/enums/ProductSortKeys md: https://shopify.dev/docs/api/admin-graphql/latest/enums/ProductSortKeys.md --- # Product​Sort​Keys enum The set of valid sort keys for the Product query. ## Valid values * CREATED\_​AT Sort by the `created_at` value. * ID Sort by the `id` value. * INVENTORY\_​TOTAL Sort by the `inventory_total` value. * PRODUCT\_​TYPE Sort by the `product_type` value. * PUBLISHED\_​AT Sort by the `published_at` 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. * UPDATED\_​AT Sort by the `updated_at` value. * VENDOR Sort by the `vendor` value. *** ## Fields * [Publication.includedProducts(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication#field-Publication.fields.includedProducts.arguments.sortKey) ARGUMENT A publication is a group of products and collections that is published to an app. * [Publication.products(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication#field-Publication.fields.products.arguments.sortKey) ARGUMENT A publication is a group of products and collections that is published to an app. * [Shop.products(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/Shop#field-Shop.fields.products.arguments.sortKey) ARGUMENT Represents a collection of general settings and information about the shop. * [Query​Root.products(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/QueryRoot#field-QueryRoot.fields.products.arguments.sortKey) ARGUMENT The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start. * [products.sortKey](https://shopify.dev/docs/api/admin-graphql/latest/queries/products#arguments-sortKey) ARGUMENT *** ## Map ### Arguments with this enum * <-|[Publication.includedProducts(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication#field-Publication.fields.includedProducts.arguments.sortKey) * <-|[Publication.products(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication#field-Publication.fields.products.arguments.sortKey) * <-|[Shop.products(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/Shop#field-Shop.fields.products.arguments.sortKey) * <-|[Query​Root.products(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/QueryRoot#field-QueryRoot.fields.products.arguments.sortKey) * <-|[products.sortKey](https://shopify.dev/docs/api/admin-graphql/latest/queries/products#arguments-sortKey)