---
schema_version: "1"
id: 1c343194d9deface5460f9b1582cf801886fb4fe955f47b0440304bde86f86a2
title: LabelOrderField
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/metadata_api/reference/labelorderfield.doc.md
canonical_url: https://help.tableau.com/current/api/metadata_api/en-us/reference/labelorderfield.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 637e19b87e06a1e9b5701a94793b831f68e5b9662c67940d61b9b37691a9074a
---
_menu_ Types

ENUM

# LabelOrderField

Enum for fields that can be used for sorting

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

`   - enum LabelOrderField {  - # Sort by category - CATEGORY  - # Sort by id - ID  - # Sort by isActive - IS_ACTIVE  - # Sort by isElevated - IS_ELEVATED  - # Sort by luid - LUID  - # Sort by value - VALUE - }   `

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

- [LabelSortOrder_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/labelsortorder.doc.html "LabelSortOrder - 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.")