public DescribeFolderContentsRequest withSort(String sort) {
        setSort(sort);
        return this;
    }
<p>
The sorting criteria.
</p>

@param sort
       The sorting criteria.
@return Returns a reference to this object so that method calls can be chained together.
@see ResourceSortType
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/DescribeFolderContentsRequest.java