public SearchRequest withSort(SearchSort sort) {
        setSort(sort);
        return this;
    }
<p>
Specifies the way in which the search results are to be sorted.
</p>

@param sort
       Specifies the way in which the search results are to be sorted.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/SearchRequest.java