---
schema_version: "1"
id: d8606cffa2cba7f2f9ce963fe2745263d3bada922c324309f7757d5f39508e31
title: GroupFieldOrderField
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/metadata_api/reference/groupfieldorderfield.doc.md
canonical_url: https://help.tableau.com/current/api/metadata_api/en-us/reference/groupfieldorderfield.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 97cd1f5c1cce9d9495961f9a396862c9f3419a8e79f9d8a954cd15b0d2727525
---
_menu_ Types

ENUM

# GroupFieldOrderField

Enum for fields that can be used for sorting

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

`   - enum GroupFieldOrderField {  - # Sort by downstreamSheets count - DOWNSTREAM_SHEETS_COUNT  - # Sort by fields count - FIELDS_COUNT  - # Sort by dataCategory - DATA_CATEGORY  - # Sort by dataType - DATA_TYPE  - # Sort by id - ID  - # Sort by isHidden - IS_HIDDEN  - # Sort by name - NAME  - # Sort by role - ROLE - }   `

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

- [GroupFieldSortOrder_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/groupfieldsortorder.doc.html "GroupFieldSortOrder - 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.")