---
schema_version: "1"
id: 7325a21543834e51c8c1cf5e20bf07ee4bde751440591e5d2a7947e7160fc528
title: CanHaveLabelsOrderField
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/api/metadata_api/reference/canhavelabelsorderfield.doc.md
canonical_url: https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/canhavelabelsorderfield.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 78d8d6a08b7aacbbbb3ab5fdb61dca1500c640860f14867b5b4d91bf2002451f
---
_menu_ Types

ENUM

# CanHaveLabelsOrderField

Enum for fields that can be used for sorting

## [_link_](#graphql-schema-definition) GraphQL Schema definition

`   - enum CanHaveLabelsOrderField {  - # Sort by id - ID  - # Sort by luid - LUID - }   `

## [_link_](#require-by) Require by

- [CanHaveLabelsSortOrder_Sort by given fields. The sort orders defined first in the list will take priority. If there are no given sort orders or a tie on the final sorted field then the resulting set will be sorted by ID in ascending order._](https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/canhavelabelssortorder.doc.html "CanHaveLabelsSortOrder - Sort by given fields. The sort orders defined first in the list will take priority. If there are no given sort orders or a tie on the final sorted field then the resulting set will be sorted by ID in ascending order.")