--- title: AnalyticsTargetSortKeys - GraphQL Admin description: The set of valid sort keys for the AnalyticsTarget query. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/enums/AnalyticsTargetSortKeys md: >- https://shopify.dev/docs/api/admin-graphql/unstable/enums/AnalyticsTargetSortKeys.md metadata: domain: admin --- # Analytics​Target​Sort​Keys enum The set of valid sort keys for the AnalyticsTarget query. ## Valid values * CREATED\_​AT Sort by the `created_at` value. * END\_​DATE Sort by the `end_date` value. * EXPECTED\_​VALUE Sort by the `expected_value` value. * ID Sort by the `id` value. * METRIC Sort by the `metric` value. * NAME Sort by the `name` value. * START\_​DATE Sort by the `start_date` value. *** ## Fields * [Query​Root.analyticsTargets(sortKey)](https://shopify.dev/docs/api/admin-graphql/unstable/objects/QueryRoot#field-QueryRoot.fields.analyticsTargets.arguments.sortKey) ARGUMENT The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start. * [analytics​Targets.sortKey](https://shopify.dev/docs/api/admin-graphql/unstable/queries/analyticsTargets#arguments-sortKey) ARGUMENT *** ## Map ### Arguments with this enum * [Query​Root.analyticsTargets(sortKey)](https://shopify.dev/docs/api/admin-graphql/unstable/objects/QueryRoot#field-QueryRoot.fields.analyticsTargets.arguments.sortKey) * [analytics​Targets.sortKey](https://shopify.dev/docs/api/admin-graphql/unstable/queries/analyticsTargets#arguments-sortKey)