--- title: SellingPlanGroupSortKeys - GraphQL Admin description: The set of valid sort keys for the SellingPlanGroup query. api_version: 2024-10 api_name: admin type: enum api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/enums/SellingPlanGroupSortKeys md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/enums/SellingPlanGroupSortKeys.txt --- # Selling​Plan​Group​Sort​Keys enum The set of valid sort keys for the SellingPlanGroup query. ## Valid values * CREATED\_​AT Sort by the `created_at` value. * ID Sort by the `id` value. * NAME Sort by the `name` 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. * UPDATED\_​AT Sort by the `updated_at` value. *** ## Fields * [Query​Root.​selling​Plan​Groups](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/QueryRoot#field-sellingPlanGroups) ARGUMENT The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start. * [selling​Plan​Groups.​sort​Key](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/sellingPlanGroups#field-sortKey) QUERY *** ## Map ### Queries with this enum * \[selling​Plan​Groups.sortKey](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/sellingPlanGroups#field-sortKey) ### Arguments with this enum * <-|[Query​Root.sellingPlanGroups(sortKey)](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/QueryRoot#field-sellingPlanGroups)