

# SortProperty
<a name="API_SortProperty"></a>

Describes how to sort the data that you bind to a component.

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

 ** direction **   <a name="amplifyuibuilder-Type-SortProperty-direction"></a>
The direction of the sort, either ascending or descending.  
Type: String  
Valid Values: `ASC | DESC`   
Required: Yes

 ** field **   <a name="amplifyuibuilder-Type-SortProperty-field"></a>
The field to perform the sort on.  
Type: String  
Required: Yes

## See Also
<a name="API_SortProperty_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/amplifyuibuilder-2021-08-11/SortProperty) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/amplifyuibuilder-2021-08-11/SortProperty) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/amplifyuibuilder-2021-08-11/SortProperty) 