

# OpportunitySort
<a name="API_OpportunitySort"></a>

Object that configures response sorting.

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

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

 ** SortBy **   <a name="AWSPartnerCentral-Type-OpportunitySort-SortBy"></a>
Field name to sort by.  
Type: String  
Valid Values: `LastModifiedDate | Identifier | CustomerCompanyName | CreatedDate | TargetCloseDate`   
Required: Yes

 ** SortOrder **   <a name="AWSPartnerCentral-Type-OpportunitySort-SortOrder"></a>
Sort order.  
Default: `Descending`   
Type: String  
Valid Values: `ASCENDING | DESCENDING`   
Required: Yes

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