---
schema_version: "1"
id: 615f611cfcd6dd1ab91bab8a45ae16fd3a1b80dcf5b067357e243217a04d3da8
title: TableauUserOrderField
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/metadata_api/reference/tableauuserorderfield.doc.md
canonical_url: https://help.tableau.com/current/api/metadata_api/en-us/reference/tableauuserorderfield.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 5b2448b6b6bf6d4d547ab017caece957c7a3176203a019006933dbc4886ad303
---
_menu_ Types

ENUM

# TableauUserOrderField

Enum for fields that can be used for sorting

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

`   - enum TableauUserOrderField {  - # Sort by domain - DOMAIN  - # Sort by email - EMAIL  - # Sort by id - ID  - # Sort by luid - LUID  - # Sort by name - NAME  - # Sort by username - USERNAME - }   `

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

- [TableauUserSortOrder_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/tableauusersortorder.doc.html "TableauUserSortOrder - 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.")