---
schema_version: "1"
id: ffc819ca440ec15bc3c8a89726f635b29f0b4420eea071016dd9d0184a8343cd
title: FlowOutputFieldSortOrder
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/api/metadata_api/reference/flowoutputfieldsortorder.doc.md
canonical_url: https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/flowoutputfieldsortorder.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: e19d67afa2f70d826c120484df06c9681ea697290cc143e46f638bb02bdd44bf
---
_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/v0.0/api/metadata_api/en-us/reference/flowoutputfieldorderfield.doc.html)!  - # Order direction to sort output - direction: [OrderDirection](https://help.tableau.com/v0.0/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/v0.0/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/v0.0/api/metadata_api/en-us/reference/flowcolumninputfield.doc.html "FlowColumnInputField - Column input field implementation")

- [FlowFieldInputField_Field input field implementation_](https://help.tableau.com/v0.0/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/v0.0/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/v0.0/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.*")