public void setSort(ListTransactionsSort sort) {
        this.sort = sort;
    }
<p>
The order by which the results will be sorted.
</p>

@param sort
       The order by which the results will be sorted.
aws-java-sdk-managedblockchainquery/src/main/java/com/amazonaws/services/managedblockchainquery/model/ListTransactionsRequest.java