--- title: OrderByContactSortKeys - Customer API description: The set of valid sort keys for the OrderByContact query. api_version: 2025-10 api_name: customer type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/latest/enums/orderbycontactsortkeys md: https://shopify.dev/docs/api/customer/latest/enums/orderbycontactsortkeys.md --- # Order​By​Contact​Sort​Keys enum The set of valid sort keys for the OrderByContact 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. * PURCHASING\_​COMPANY\_​LOCATION\_​NAME Sort by the `purchasing_company_location_name` value. * TOTAL\_​PRICE Sort by the `total_price` value. * UPDATED\_​AT Sort by the `updated_at` value. *** ## Fields * [Company​Contact.​orders](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-orders) ARGUMENT Represents the customer's contact information. *** ## Map ### Arguments with this enum * <-|[Company​Contact.orders(sortKey)](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-orders)