--- title: OrderSortKeys - Customer API description: The set of valid sort keys for the Order query. api_version: 2025-10 api_name: customer type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/latest/enums/ordersortkeys md: https://shopify.dev/docs/api/customer/latest/enums/ordersortkeys.md --- # Order​Sort​Keys enum The set of valid sort keys for the Order query. ## Valid values * CREATED\_​AT Sort by the `created_at` value. * ID Sort by the `id` value. * ORDER\_​NUMBER Sort by the `order_number` value. * PROCESSED\_​AT Sort by the `processed_at` value. * TOTAL\_​PRICE Sort by the `total_price` value. * UPDATED\_​AT Sort by the `updated_at` value. *** ## Fields * [Customer.​orders](https://shopify.dev/docs/api/customer/latest/objects/Customer#field-orders) ARGUMENT Represents the personal information of a customer. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). *** ## Map ### Arguments with this enum * <-|[Customer.orders(sortKey)](https://shopify.dev/docs/api/customer/latest/objects/Customer#field-orders)