---
schema_version: "1"
id: 8a1ff068b6665656a6083d3b1722939c6af9c151d6211d58d0df072371921308
title: FlowOutputStepSortOrder
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/metadata_api/reference/flowoutputstepsortorder.doc.md
canonical_url: https://help.tableau.com/current/api/metadata_api/en-us/reference/flowoutputstepsortorder.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 72be1af91de434ff1310f436393fc5a52e41cce94045921459e1fd8c4d09796e
---
_menu_ Types

INPUT\_OBJECT

# FlowOutputStepSortOrder

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 FlowOutputStepSortOrder {  - # GraphQL field to sort on - field: [FlowOutputStepOrderField](https://help.tableau.com/current/api/metadata_api/en-us/reference/flowoutputsteporderfield.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.")

- [Query_Query root for Metadata GraphQL interface_](https://help.tableau.com/current/api/metadata_api/en-us/reference/query.doc.html "Query - Query root for Metadata GraphQL interface")