public SearchResourcesRequest withOrderBy(java.util.Collection<SearchSortResult> orderBy) {
        setOrderBy(orderBy);
        return this;
    }
<p>
Order by results in one or more categories.
</p>

@param orderBy
       Order by results in one or more categories.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/SearchResourcesRequest.java