--- title: CompanyContactRoleAssignmentSortKeys - GraphQL Admin description: The set of valid sort keys for the CompanyContactRoleAssignment query. api_version: 2025-01 api_name: admin type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/2025-01/enums/companycontactroleassignmentsortkeys md: https://shopify.dev/docs/api/admin-graphql/2025-01/enums/companycontactroleassignmentsortkeys.md --- # Company​Contact​Role​Assignment​Sort​Keys enum The set of valid sort keys for the CompanyContactRoleAssignment query. ## Valid values * CREATED\_​AT Sort by the `created_at` value. * ID Sort by the `id` value. * LOCATION\_​NAME Sort by the `location_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​Contact.roleAssignments(sortKey)](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/CompanyContact#field-CompanyContact.fields.roleAssignments.arguments.sortKey) ARGUMENT A person that acts on behalf of company associated to [a customer](https://shopify.dev/api/admin-graphql/latest/objects/customer). * [Company​Location.roleAssignments(sortKey)](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/CompanyLocation#field-CompanyLocation.fields.roleAssignments.arguments.sortKey) ARGUMENT A location or branch of a [company that's a customer](https://shopify.dev/api/admin-graphql/latest/objects/company) of the shop. Configuration of B2B relationship, for example prices lists and checkout settings, may be done for a location. *** ## Map ### Arguments with this enum * <-|[Company​Contact.roleAssignments(sortKey)](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/CompanyContact#field-CompanyContact.fields.roleAssignments.arguments.sortKey) * <-|[Company​Location.roleAssignments(sortKey)](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/CompanyLocation#field-CompanyLocation.fields.roleAssignments.arguments.sortKey)