

# 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) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for Amazon Quick Sight. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query quicksight` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
