public ListImagesRequest withSortOrder(ImageSortOrder sortOrder) {
        this.sortOrder = sortOrder.toString();
        return this;
    }
<p>
The sort order. The default value is <code>DESCENDING</code>.
</p>

@param sortOrder
       The sort order. The default value is <code>DESCENDING</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see ImageSortOrder
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListImagesRequest.java