--- title: CompanyLocationStaffMemberAssignmentSortKeys - GraphQL Admin description: The set of valid sort keys for the CompanyLocationStaffMemberAssignment 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/companylocationstaffmemberassignmentsortkeys md: https://shopify.dev/docs/api/admin-graphql/2025-01/enums/companylocationstaffmemberassignmentsortkeys.md --- # Company​Location​Staff​Member​Assignment​Sort​Keys enum The set of valid sort keys for the CompanyLocationStaffMemberAssignment query. ## Valid values * CREATED\_​AT Sort by the `created_at` value. * ID Sort by the `id` 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​Location.staffMemberAssignments(sortKey)](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/CompanyLocation#field-CompanyLocation.fields.staffMemberAssignments.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​Location.staffMemberAssignments(sortKey)](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/CompanyLocation#field-CompanyLocation.fields.staffMemberAssignments.arguments.sortKey)