--- title: PageSortKeys - Storefront API description: The set of valid sort keys for the Page query. api_version: 2024-10 api_name: storefront type: enum api_type: graphql source_url: html: 'https://shopify.dev/docs/api/storefront/2024-10/enums/PageSortKeys' md: 'https://shopify.dev/docs/api/storefront/2024-10/enums/PageSortKeys.txt' --- # Page​Sort​Keys enum The set of valid sort keys for the Page query. ## Valid values * ID Sort by the `id` 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 * [Query​Root.​pages](https://shopify.dev/docs/api/storefront/2024-10/objects/QueryRoot#field-pages) ARGUMENT The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. * [pages.​sort​Key](https://shopify.dev/docs/api/storefront/2024-10/queries/pages#field-sortKey) QUERY *** ## Map ### Queries with this enum * \[pages.sortKey](https://shopify.dev/docs/api/storefront/2024-10/queries/pages#field-sortKey) ### Arguments with this enum * <-|[Query​Root.pages(sortKey)](https://shopify.dev/docs/api/storefront/2024-10/objects/QueryRoot#field-pages)