---
title: MarketsSortKeys - GraphQL Admin
description: The set of valid sort keys for the Markets query.
api_version: 2026-07
source_url:
  html: https://shopify.dev/docs/api/admin-graphql/latest/enums/marketssortkeys
  md: https://shopify.dev/docs/api/admin-graphql/latest/enums/marketssortkeys.md
---

# Markets​Sort​Keys

enum

The set of valid sort keys for the Markets query.

## Valid values

* CREATED\_​AT

  Sort by the `created_at` value.

* ID

  Sort by the `id` value.

* MARKET\_​CONDITION\_​TYPES

  Sort by the `market_condition_types` value.

* MARKET\_​TYPE

  Sort by the `market_type` value.

* NAME

  Sort by the `name` value.

* STATUS

  Sort by the `status` value.

* UPDATED\_​AT

  Sort by the `updated_at` value.

***

## Fields

* [Query​Root.markets(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/QueryRoot#field-QueryRoot.fields.markets.arguments.sortKey)

  ARGUMENT

  The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start.

* [markets.sortKey](https://shopify.dev/docs/api/admin-graphql/latest/queries/markets#arguments-sortKey)

  ARGUMENT

***

## Map

### Arguments with this enum

* [Query​Root.markets(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/QueryRoot#field-QueryRoot.fields.markets.arguments.sortKey)
* [markets.sortKey](https://shopify.dev/docs/api/admin-graphql/latest/queries/markets#arguments-sortKey)