---
schema_version: "1"
id: 1086ebdeb30e538d2d575fc9a86be294762f5c8c233353a28394ceef3e06fb6d
title: FlowInputFieldSortOrder
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/api/metadata_api/reference/flowinputfieldsortorder.doc.md
canonical_url: https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/flowinputfieldsortorder.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 2837bba1e424de70f6db456bc2984f95ff183393f2e2aba7188e35c6a434ac27
---
_menu_ Types

INPUT\_OBJECT

# FlowInputFieldSortOrder

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 FlowInputFieldSortOrder {  - # GraphQL field to sort on - field: [FlowInputFieldOrderField](https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/flowinputfieldorderfield.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.")

- [FlowColumnOutputField_Column output field implementation_](https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/flowcolumnoutputfield.doc.html "FlowColumnOutputField - Column output field implementation")

- [FlowFieldOutputField_Field output field implementation_](https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/flowfieldoutputfield.doc.html "FlowFieldOutputField - Field output field implementation")

- [FlowOutputField_A wrapper for an output field contained in a published flow._](https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/flowoutputfield.doc.html "FlowOutputField - A wrapper for an output field contained in a published flow.")