---
schema_version: "1"
id: fe4b7762cc40359307c95355ab67976fbaf8099b2f09326b9ddc12a075e4670b
title: CanHaveLabelsOrderField
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/metadata_api/reference/canhavelabelsorderfield.doc.md
canonical_url: https://help.tableau.com/current/api/metadata_api/en-us/reference/canhavelabelsorderfield.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 5b28d49722bbb607d3b39be9470d57c8701ab689b87c5140c0675314cd23e233
---
_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/current/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.")