

# FieldSort
<a name="API_FieldSort"></a>

The sort configuration for a field in a field well.

## Contents
<a name="API_FieldSort_Contents"></a>

**Note**  
In the following list, the required parameters are described first.

 ** Direction **   <a name="QS-Type-FieldSort-Direction"></a>
The sort direction. Choose one of the following options:  
+  `ASC`: Ascending
+  `DESC`: Descending
Type: String  
Valid Values: `ASC | DESC`   
Required: Yes

 ** FieldId **   <a name="QS-Type-FieldSort-FieldId"></a>
The sort configuration target field.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 512.  
Required: Yes

## See Also
<a name="API_FieldSort_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/quicksight-2018-04-01/FieldSort) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/quicksight-2018-04-01/FieldSort) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/quicksight-2018-04-01/FieldSort) 