

# ListTransactionsSort
<a name="API_ListTransactionsSort"></a>

The container for determining how the list transaction result will be sorted.

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

 ** sortBy **   <a name="ManagedBlockchainQueryAPIReference-Type-ListTransactionsSort-sortBy"></a>
Defaults to the value `TRANSACTION_TIMESTAMP`.  
Type: String  
Valid Values: `TRANSACTION_TIMESTAMP`   
Required: No

 ** sortOrder **   <a name="ManagedBlockchainQueryAPIReference-Type-ListTransactionsSort-sortOrder"></a>
The container for the *sort order* for `ListTransactions`. The `SortOrder` field only accepts the values `ASCENDING` and `DESCENDING`. Not providing `SortOrder` will default to `ASCENDING`.  
Type: String  
Valid Values: `ASCENDING | DESCENDING`   
Required: No

## See Also
<a name="API_ListTransactionsSort_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/managedblockchain-query-2023-05-04/ListTransactionsSort) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/managedblockchain-query-2023-05-04/ListTransactionsSort) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/managedblockchain-query-2023-05-04/ListTransactionsSort) 