--- title: CompanyLocationSortKeys - Customer API description: The set of valid sort keys for the CompanyLocation query. api_version: 2025-10 api_name: customer type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/latest/enums/companylocationsortkeys md: https://shopify.dev/docs/api/customer/latest/enums/companylocationsortkeys.md --- # Company​Location​Sort​Keys enum The set of valid sort keys for the CompanyLocation query. ## Valid values * COMPANY\_​AND\_​LOCATION\_​NAME Sort by the `company_and_location_name` value. * COMPANY\_​ID Sort by the `company_id` value. * CREATED\_​AT Sort by the `created_at` value. * ID Sort by the `id` value. * NAME Sort by the `name` 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. * UPDATED\_​AT Sort by the `updated_at` value. *** ## Fields * [Company.​locations](https://shopify.dev/docs/api/customer/latest/objects/Company#field-locations) ARGUMENT Represents a company's information. * [Company​Contact.​locations](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-locations) ARGUMENT Represents the customer's contact information. *** ## Map ### Arguments with this enum * <-|[Company.locations(sortKey)](https://shopify.dev/docs/api/customer/latest/objects/Company#field-locations) * <-|[Company​Contact.locations(sortKey)](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-locations)