

# OfferSort
<a name="API_OfferSort"></a>

Allows to sort offers.

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

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

 ** SortBy **   <a name="AWSMarketplaceService-Type-OfferSort-SortBy"></a>
Allows to sort offers.  
Type: String  
Valid Values: `EntityId | Name | ProductId | ResaleAuthorizationId | ReleaseDate | AvailabilityEndDate | BuyerAccounts | State | Targeting | LastModifiedDate | OfferSetId`   
Required: No

 ** SortOrder **   <a name="AWSMarketplaceService-Type-OfferSort-SortOrder"></a>
Allows to sort offers.  
Type: String  
Valid Values: `ASCENDING | DESCENDING`   
Required: No

## See Also
<a name="API_OfferSort_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/marketplace-catalog-2018-09-17/OfferSort) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/marketplace-catalog-2018-09-17/OfferSort) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/marketplace-catalog-2018-09-17/OfferSort) 