---
schema_version: "1"
id: 757d6febc9b84d431f18898a174f6e144b83dddc341914b8fe99aca3d5141864
title: FlowOutputFieldSortOrder
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/metadata_api/reference/flowoutputfieldsortorder.doc.md
canonical_url: https://help.tableau.com/current/api/metadata_api/en-us/reference/flowoutputfieldsortorder.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 706344cee118930499a71aba313c48025da9170dae397268bd4610eae044862b
---
_menu_ Types

INPUT\_OBJECT

# FlowOutputFieldSortOrder

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.

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

`   - input FlowOutputFieldSortOrder {  - # GraphQL field to sort on - field: [FlowOutputFieldOrderField](https://help.tableau.com/current/api/metadata_api/en-us/reference/flowoutputfieldorderfield.doc.html)!  - # Order direction to sort output - direction: [OrderDirection](https://help.tableau.com/current/api/metadata_api/en-us/reference/orderdirection.doc.html)! - }   `

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

- [Flow_Flows are used to prepare data, which can include aggregation, cleaning, preprocessing, etc._](https://help.tableau.com/current/api/metadata_api/en-us/reference/flow.doc.html "Flow - Flows are used to prepare data, which can include aggregation, cleaning, preprocessing, etc.")

- [FlowColumnInputField_Column input field implementation_](https://help.tableau.com/current/api/metadata_api/en-us/reference/flowcolumninputfield.doc.html "FlowColumnInputField - Column input field implementation")

- [FlowFieldInputField_Field input field implementation_](https://help.tableau.com/current/api/metadata_api/en-us/reference/flowfieldinputfield.doc.html "FlowFieldInputField - Field input field implementation")

- [FlowInputField_A wrapper for an input field contained in a published flow._](https://help.tableau.com/current/api/metadata_api/en-us/reference/flowinputfield.doc.html "FlowInputField - A wrapper for an input field contained in a published flow.")

- [FlowOutputStep_A flow output step_](https://help.tableau.com/current/api/metadata_api/en-us/reference/flowoutputstep.doc.html "FlowOutputStep - A flow output step")

- [Metric_Metrics are time series data constructed from fields contained in views. \*Retired in Tableau Cloud February 2024 / Server 2024.2.\*_](metric.doc.html "Metric - Metrics are time series data constructed from fields contained in views.  
    *Retired in Tableau Cloud February 2024 / Server 2024.2.*")

- [MetricDefinition_A Tableau Pulse metric definition. \*Available in Tableau Cloud June 2024 and later. Tableau Pulse is not available in Tableau Server.\*_](metricdefinition.doc.html "MetricDefinition - A Tableau Pulse metric definition.  
    *Available in Tableau Cloud June 2024 and later. Tableau Pulse is not available in Tableau Server.*")