---
title: MethodDefinitionSortKeys - GraphQL Admin
description: The set of valid sort keys for the MethodDefinition query.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/MethodDefinitionSortKeys
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/MethodDefinitionSortKeys.md
api_name: admin
api_type: graphql
type: enum
---

# Method​Definition​Sort​Keys

enum

The set of valid sort keys for the MethodDefinition query.

## Valid values

* ID

  Sort by the `id` value.

* RATE\_​PROVIDER\_​TYPE

  Sort by the `rate_provider_type` value.

***

## Fields

* [Delivery​Location​Group​Zone.methodDefinitions(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/DeliveryLocationGroupZone#field-DeliveryLocationGroupZone.fields.methodDefinitions.arguments.sortKey)

  ARGUMENT

  Links a location group with a zone and the associated method definitions.

***

## Map

### Arguments with this enum

* [Delivery​Location​Group​Zone.methodDefinitions(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/DeliveryLocationGroupZone#field-DeliveryLocationGroupZone.fields.methodDefinitions.arguments.sortKey)
