---
title: OrderByCompanySortKeys - Customer API
description: The set of valid sort keys for the OrderByCompany query.
api_version: 2025-04
api_name: customer
type: enum
api_type: graphql
source_url:
  html: 'https://shopify.dev/docs/api/customer/2025-04/enums/OrderByCompanySortKeys'
  md: >-
    https://shopify.dev/docs/api/customer/2025-04/enums/OrderByCompanySortKeys.md
---

# Order​By​Company​Sort​Keys

enum

The set of valid sort keys for the OrderByCompany query.

## Valid values

* CREATED\_​AT

  Sort by the `created_at` value.

* ID

  Sort by the `id` value.

* ORDER\_​NUMBER

  Sort by the `order_number` value.

* PROCESSED\_​AT

  Sort by the `processed_at` value.

* TOTAL\_​PRICE

  Sort by the `total_price` value.

* UPDATED\_​AT

  Sort by the `updated_at` value.

***

## Fields

* [Company.orders(sortKey)](https://shopify.dev/docs/api/customer/2025-04/objects/Company#field-Company.fields.orders.arguments.sortKey)

  ARGUMENT

  Represents a company's information.

***

## Map

### Arguments with this enum

* [Company.orders(sortKey)](https://shopify.dev/docs/api/customer/2025-04/objects/Company#field-Company.fields.orders.arguments.sortKey)
