

# CustomerAccountSort

The field to sort customer accounts by, and the sort direction.

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

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

 ** SortBy **   <a name="AWSPartnerCentral-Type-CustomerAccountSort-SortBy"></a>
The field to sort the results by.  
Type: String  
Valid Values: `COMPANY_NAME | CREATED_DATE | LAST_MODIFIED_DATE | MARKETPLACE_ENGAGEMENT_SCORE | SOLUTION_SCORE`   
Required: Yes

 ** SortOrder **   <a name="AWSPartnerCentral-Type-CustomerAccountSort-SortOrder"></a>
The direction of the sort, either ascending or descending.  
Type: String  
Valid Values: `ASCENDING | DESCENDING`   
Required: Yes

## See Also
<a name="API_CustomerAccountSort_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/partnercentral-selling-2022-07-26/CustomerAccountSort) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/partnercentral-selling-2022-07-26/CustomerAccountSort) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/partnercentral-selling-2022-07-26/CustomerAccountSort) 