

# BotSortBy
<a name="API_BotSortBy"></a>

Specifies attributes for sorting a list of bots.

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

 ** attribute **   <a name="lexv2-Type-BotSortBy-attribute"></a>
The attribute to use to sort the list of bots.  
Type: String  
Valid Values: `BotName`   
Required: Yes

 ** order **   <a name="lexv2-Type-BotSortBy-order"></a>
The order to sort the list. You can choose ascending or descending.  
Type: String  
Valid Values: `Ascending | Descending`   
Required: Yes

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