---
schema_version: "1"
id: f34f72629724e8fcc85baecf1ba0c5d508d4ef87bb828bf64dda7ced4e68e19a
title: WorkbookOrderField
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/metadata_api/reference/workbookorderfield.doc.md
canonical_url: https://help.tableau.com/current/api/metadata_api/en-us/reference/workbookorderfield.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 42b6f7ac5c9d678b63c61ea6e7417f4c91c876ae97101a120c84e64d2c226b1a
---
_menu_ Types

ENUM

# WorkbookOrderField

Enum for fields that can be used for sorting

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

`   - enum WorkbookOrderField {  - # Sort by dashboards count - DASHBOARDS_COUNT  - # Sort by embeddedDatasources count - EMBEDDED_DATASOURCES_COUNT  - # Sort by owner count - OWNER_COUNT  - # Sort by sheets count - SHEETS_COUNT  - # Sort by views count - VIEWS_COUNT  - # Sort by containerName - CONTAINER_NAME  - # Sort by containsUnsupportedCustomSql - CONTAINS_UNSUPPORTED_CUSTOM_SQL  - # Sort by id - ID  - # Sort by luid - LUID  - # Sort by name - NAME  - # Sort by projectLuid - PROJECT_LUID  - # Sort by projectName - PROJECT_NAME  - # Sort by vizportalUrlId - VIZPORTAL_URL_ID - }   `

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

- [WorkbookSortOrder_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/workbooksortorder.doc.html "WorkbookSortOrder - 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.")