

# KnowledgeBaseSortBy
<a name="API_KnowledgeBaseSortBy"></a>

The sort configuration for searching knowledge bases.

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

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

 ** sortByField **   <a name="QS-Type-KnowledgeBaseSortBy-sortByField"></a>
The field to sort by.  
Type: String  
Valid Values: `KNOWLEDGE_BASE_SIZE_BYTES | CREATED_AT`   
Required: Yes

 ** sortOrder **   <a name="QS-Type-KnowledgeBaseSortBy-sortOrder"></a>
The sort order (ascending or descending).  
Type: String  
Valid Values: `ASC | DESC`   
Required: Yes

## See Also
<a name="API_KnowledgeBaseSortBy_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/KnowledgeBaseSortBy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/quicksight-2018-04-01/KnowledgeBaseSortBy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/quicksight-2018-04-01/KnowledgeBaseSortBy) 