

# OpportunitySearchSort

Configures sorting of the search results.

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

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

 ** SortBy **   <a name="AWSPartnerCentral-Type-OpportunitySearchSort-SortBy"></a>
The field to sort the results by.  
Type: String  
Valid Values: `OpportunityId | Stage | ReviewStatus | CustomerCompanyName | LastModifiedDate | TargetCloseDate | CreatedDate | CountryCode | PartnerProjectTitle | OpportunityType | PartnerOpportunityIdentifier | Industry | AwsAccountId | Origin | NextStep | CosellMotion | OpportunityOwner | EngagementScore | EstimatedMrr | Tags | OfferId | OfferSetId | ApnPrograms`   
Required: Yes

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

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