

# TestSetSortBy
<a name="API_TestSetSortBy"></a>

Contains information about the methods by which to sort the test set.

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

 ** attribute **   <a name="lexv2-Type-TestSetSortBy-attribute"></a>
Specifies whether to sort the test sets by name or by the time they were last updated.  
Type: String  
Valid Values: `TestSetName | LastUpdatedDateTime`   
Required: Yes

 ** order **   <a name="lexv2-Type-TestSetSortBy-order"></a>
Specifies whether to sort in ascending or descending order.  
Type: String  
Valid Values: `Ascending | Descending`   
Required: Yes

## See Also
<a name="API_TestSetSortBy_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/models.lex.v2-2020-08-07/TestSetSortBy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/models.lex.v2-2020-08-07/TestSetSortBy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/models.lex.v2-2020-08-07/TestSetSortBy) 