

# Sort
<a name="API_connect-cases_Sort"></a>

A structured set of sort terms.

## Contents
<a name="API_connect-cases_Sort_Contents"></a>

 ** fieldId **   <a name="connect-Type-connect-cases_Sort-fieldId"></a>
Unique identifier of a field.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 500.  
Required: Yes

 ** sortOrder **   <a name="connect-Type-connect-cases_Sort-sortOrder"></a>
A structured set of sort terms  
Type: String  
Valid Values: `Asc | Desc`   
Required: Yes

## See Also
<a name="API_connect-cases_Sort_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/connectcases-2022-10-03/Sort) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/connectcases-2022-10-03/Sort) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/connectcases-2022-10-03/Sort) 