--- title: DraftOrderByCompanySortKeys - Customer API description: The set of valid sort keys for the DraftOrderByCompany query. api_version: 2025-10 api_name: customer type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/latest/enums/draftorderbycompanysortkeys md: https://shopify.dev/docs/api/customer/latest/enums/draftorderbycompanysortkeys.md --- # Draft​Order​By​Company​Sort​Keys enum The set of valid sort keys for the DraftOrderByCompany query. ## Valid values * CUSTOMER\_​NAME Sort by the `customer_name` value. * ID Sort by the `id` value. * NUMBER Sort by the `number` 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. * STATUS Sort by the `status` value. * TOTAL\_​PRICE Sort by the `total_price` value. * UPDATED\_​AT Sort by the `updated_at` value. *** ## Fields * [Company.​draft​Orders](https://shopify.dev/docs/api/customer/latest/objects/Company#field-draftOrders) ARGUMENT Represents a company's information. *** ## Map ### Arguments with this enum * <-|[Company.draftOrders(sortKey)](https://shopify.dev/docs/api/customer/latest/objects/Company#field-draftOrders)