--- title: CashTrackingSessionsSortKeys - GraphQL Admin description: The set of valid sort keys for the CashTrackingSessions 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/CashTrackingSessionsSortKeys md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/enums/CashTrackingSessionsSortKeys.txt --- # Cash​Tracking​Sessions​Sort​Keys enum The set of valid sort keys for the CashTrackingSessions query. ## Valid values * CLOSING\_​TIME\_​ASC Sort by the `closing_time_asc` value. * CLOSING\_​TIME\_​DESC Sort by the `closing_time_desc` value. * ID Sort by the `id` value. * OPENING\_​TIME\_​ASC Sort by the `opening_time_asc` value. * OPENING\_​TIME\_​DESC Sort by the `opening_time_desc` 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. * TOTAL\_​DISCREPANCY\_​ASC Sort by the `total_discrepancy_asc` value. * TOTAL\_​DISCREPANCY\_​DESC Sort by the `total_discrepancy_desc` value. *** ## Fields * [Query​Root.​cash​Tracking​Sessions](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/QueryRoot#field-cashTrackingSessions) ARGUMENT The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start. * [cash​Tracking​Sessions.​sort​Key](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/cashTrackingSessions#field-sortKey) QUERY *** ## Map ### Queries with this enum * \[cash​Tracking​Sessions.sortKey](https://shopify.dev/docs/api/admin-graphql/2024-10/queries/cashTrackingSessions#field-sortKey) ### Arguments with this enum * <-|[Query​Root.cashTrackingSessions(sortKey)](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/QueryRoot#field-cashTrackingSessions)