---
title: CompanyContactSortKeys - Customer API
description: The set of valid sort keys for the CompanyContact query.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/customer/latest/enums/CompanyContactSortKeys'
  md: 'https://shopify.dev/docs/api/customer/latest/enums/CompanyContactSortKeys.md'
api_name: customer
api_type: graphql
type: enum
---

# Company​Contact​Sort​Keys

enum

The set of valid sort keys for the CompanyContact query.

## Valid values

* COMPANY\_​ID

  Sort by the `company_id` value.

* CREATED\_​AT

  Sort by the `created_at` value.

* EMAIL

  Sort by the `email` value.

* ID

  Sort by the `id` value.

* NAME

  Sort by the `name` value.

* NAME\_​EMAIL

  Sort by the `name_email` 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.

* TITLE

  Sort by the `title` value.

* UPDATED\_​AT

  Sort by the `updated_at` value.

***

## Fields

* [Company​Location.contacts(sortKey)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-CompanyLocation.fields.contacts.arguments.sortKey)

  ARGUMENT

  Represents a company's business location.

***

## Map

### Arguments with this enum

* [Company​Location.contacts(sortKey)](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-CompanyLocation.fields.contacts.arguments.sortKey)
