---
schema_version: "1"
id: b5629b2fb55d98ff1516567f5da6ab307c0c34a00e616d5875a2af2bd1e3d418
title: FieldReferencingFieldOrderField
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/metadata_api/reference/fieldreferencingfieldorderfield.doc.md
canonical_url: https://help.tableau.com/current/api/metadata_api/en-us/reference/fieldreferencingfieldorderfield.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: af1c6cba4dff98a48169a9fa99edc8f730091aef6ba024618185cdcd62f45203
---
_menu_ Types

ENUM

# FieldReferencingFieldOrderField

Enum for fields that can be used for sorting

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

`   - enum FieldReferencingFieldOrderField {  - # Sort by fields count - FIELDS_COUNT  - # Sort by id - ID - }   `

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

- [FieldReferencingFieldSortOrder_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/fieldreferencingfieldsortorder.doc.html "FieldReferencingFieldSortOrder - 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.")