---
title: "SegmentSortKeys"
description: "Query the sort key of a segmented list"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/enums/segment-sort-keys'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/enums/segment-sort-keys.md'
---
# SegmentSortKeys

Query the sort key of a segmented list

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Enum

## Type Signature

`SegmentSortKeys`

## Values

* `CREATION_DATE`

  Sort by the create_time

* `ID`

  Sort by ID

* `LAST_EDIT_DATE`

  Sort by the last_update_time

## Schema Definition

```graphql
enum SegmentSortKeys { 
	CREATION_DATE 
	ID 
	LAST_EDIT_DATE  
}
```

## Argument from

* [Query](https://developer.shopline.com/docs/admin-graph-ql-api/customers/queries/segments.md).segments

  商店细分市场的列表

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

