--- title: ArticleSortKeys - Storefront API description: The set of valid sort keys for the Article query. api_version: 2026-01 api_name: storefront type: enum api_type: graphql source_url: html: 'https://shopify.dev/docs/api/storefront/latest/enums/ArticleSortKeys' md: 'https://shopify.dev/docs/api/storefront/latest/enums/ArticleSortKeys.md' --- # Article​Sort​Keys enum The set of valid sort keys for the Article query. ## Valid values * AUTHOR Sort by the `author` value. * BLOG\_​TITLE Sort by the `blog_title` value. * ID Sort by the `id` 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. *** ## Fields * [Blog.articles(sortKey)](https://shopify.dev/docs/api/storefront/latest/objects/Blog#field-Blog.fields.articles.arguments.sortKey) ARGUMENT A blog container for [`Article`](https://shopify.dev/docs/api/storefront/current/objects/Article) objects. Stores can have multiple blogs, for example to organize content by topic or purpose. Each blog provides access to its articles, contributing [`ArticleAuthor`](https://shopify.dev/docs/api/storefront/current/objects/ArticleAuthor) objects, and [`SEO`](https://shopify.dev/docs/api/storefront/current/objects/SEO) information. You can retrieve articles individually [by handle](https://shopify.dev/docs/api/storefront/current/objects/Blog#field-Blog.fields.articleByHandle) or as a [paginated list](https://shopify.dev/docs/api/storefront/current/objects/Blog#field-Blog.fields.articles). * [Query​Root.articles(sortKey)](https://shopify.dev/docs/api/storefront/latest/objects/QueryRoot#field-QueryRoot.fields.articles.arguments.sortKey) ARGUMENT The entry point for all Storefront API queries. Provides access to shop resources including products, collections, carts, and customer data, as well as content like articles and pages. This query acts as the public, top-level type from which all queries must start. Use individual queries like [`product`](https://shopify.dev/docs/api/storefront/current/queries/product) or [`collection`](https://shopify.dev/docs/api/storefront/current/queries/collection) to fetch specific resources by ID or handle. Use plural queries like [`products`](https://shopify.dev/docs/api/storefront/current/queries/products) or [`collections`](https://shopify.dev/docs/api/storefront/current/queries/collections) to retrieve paginated lists with optional filtering and sorting. The [`search`](https://shopify.dev/docs/api/storefront/current/queries/search) and [`predictiveSearch`](https://shopify.dev/docs/api/storefront/current/queries/predictiveSearch) queries enable storefront search functionality. Explore queries interactively with the [GraphiQL explorer and sample query kit](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/api-exploration). * [articles.sortKey](https://shopify.dev/docs/api/storefront/latest/queries/articles#arguments-sortKey) ARGUMENT *** ## Map ### Arguments with this enum * [Blog.articles(sortKey)](https://shopify.dev/docs/api/storefront/latest/objects/Blog#field-Blog.fields.articles.arguments.sortKey) * [Query​Root.articles(sortKey)](https://shopify.dev/docs/api/storefront/latest/objects/QueryRoot#field-QueryRoot.fields.articles.arguments.sortKey) * [articles.sortKey](https://shopify.dev/docs/api/storefront/latest/queries/articles#arguments-sortKey)