---
schema_version: "1"
id: bd854be990401e893744d816858ed000228c96c71b810f0c778aeb2289c91b40
title: AnalyticsFieldOrderField
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/metadata_api/reference/analyticsfieldorderfield.doc.md
canonical_url: https://help.tableau.com/current/api/metadata_api/en-us/reference/analyticsfieldorderfield.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 6dd444aa8db15602dc39f245416a55ddccc84a77185c87ee5f3631f4c9ee3c25
---
_menu_ Types

ENUM

# AnalyticsFieldOrderField

Enum for fields that can be used for sorting

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

`   - enum AnalyticsFieldOrderField {  - # Sort by id - ID - }   `

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

- [AnalyticsFieldSortOrder_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/analyticsfieldsortorder.doc.html "AnalyticsFieldSortOrder - 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.")