

# ListTasksSortBase
<a name="API_ListTasksSortBase"></a>

 Defines the sorting parameters for listing tasks. This structure allows for specifying the field to sort by and the order of sorting. 

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

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

 ** SortBy **   <a name="AWSPartnerCentral-Type-ListTasksSortBase-SortBy"></a>
 Specifies the field by which the task list should be sorted.   
Type: String  
Valid Values: `StartTime`   
Required: Yes

 ** SortOrder **   <a name="AWSPartnerCentral-Type-ListTasksSortBase-SortOrder"></a>
 Determines the order in which the sorted results are presented.   
Type: String  
Valid Values: `ASCENDING | DESCENDING`   
Required: Yes

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