

# NamedEntitySort
<a name="API_NamedEntitySort"></a>

A structure that represents a sort for a named entity.

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

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

 ** Direction **   <a name="QS-Type-NamedEntitySort-Direction"></a>
The direction of the sort. Valid values are `ASCENDING` and `DESCENDING`.  
Type: String  
Valid Values: `ASCENDING | DESCENDING`   
Required: Yes

 ** FieldName **   <a name="QS-Type-NamedEntitySort-FieldName"></a>
The name of the field that is used for the sort.  
Type: String  
Length Constraints: Maximum length of 256.  
Required: Yes

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

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