---
schema_version: "1"
id: 3ec5de2226a9e42a861b8fe14afc3b64f9e4437d3e562975a4805d39e7c4c79d
title: ColumnFieldOrderField
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/api/metadata_api/reference/columnfieldorderfield.doc.md
canonical_url: https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/columnfieldorderfield.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 574e7b63f6bf89496d75e272f15074ebe709747e961c4cbc013dc32743069d3d
---
_menu_ Types

ENUM

# ColumnFieldOrderField

Enum for fields that can be used for sorting

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

`   - enum ColumnFieldOrderField {  - # Sort by downstreamSheets count - DOWNSTREAM_SHEETS_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

- [ColumnFieldSortOrder_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/v0.0/api/metadata_api/en-us/reference/columnfieldsortorder.doc.html "ColumnFieldSortOrder - 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.")