---
schema_version: "1"
id: b2a4c3f6f5eed2a6fc1239c3aa3bf6fd9d5a92af1d6222a20beb25dd5ccf5a80
title: WorkbookOrderField
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/api/metadata_api/reference/workbookorderfield.doc.md
canonical_url: https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/workbookorderfield.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 707183cfd3244b4a558c4b048757547cb815aec155dfc22584cab0dc53300225
---
_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/v0.0/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.")