---
schema_version: "1"
id: 8241c96e3b3732fa9214d23fdbfec55500b723a293eda8e2aa077ff6bf08bd7a
title: LensFieldOrderField
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/api/metadata_api/reference/lensfieldorderfield.doc.md
canonical_url: https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/lensfieldorderfield.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 19e501763ae110fdeacfd7ff405085e53d2e62c0473072f04d2779b4e2478154
---
_menu_ Types

ENUM

# LensFieldOrderField

Enum for fields that can be used for sorting

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

`   - enum LensFieldOrderField {  - # Sort by id - ID  - # Sort by name - NAME - }   `

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

- [LensFieldSortOrder_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/lensfieldsortorder.doc.html "LensFieldSortOrder - 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.")