--- title: MethodDefinitionSortKeys - GraphQL Admin description: The set of valid sort keys for the MethodDefinition 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/methoddefinitionsortkeys md: https://shopify.dev/docs/api/admin-graphql/latest/enums/methoddefinitionsortkeys.md --- # 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)