public DescribeBatchPredictionsRequest withSortOrder(SortOrder sortOrder) {
        this.sortOrder = sortOrder.toString();
        return this;
    }
<p>
A two-value parameter that determines the sequence of the resulting list of <code>MLModel</code>s.
</p>
<ul>
<li>
<p>
<code>asc</code> - Arranges the list in ascending order (A-Z, 0-9).
</p>
</li>
<li>
<p>
<code>dsc</code> - Arranges the list in descending order (Z-A, 9-0).
</p>
</li>
</ul>
<p>
Results are sorted by <code>FilterVariable</code>.
</p>

@param sortOrder
       A two-value parameter that determines the sequence of the resulting list of <code>MLModel</code>s.</p>
       <ul>
       <li>
       <p>
       <code>asc</code> - Arranges the list in ascending order (A-Z, 0-9).
       </p>
       </li>
       <li>
       <p>
       <code>dsc</code> - Arranges the list in descending order (Z-A, 9-0).
       </p>
       </li>
       </ul>
       <p>
       Results are sorted by <code>FilterVariable</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see SortOrder
aws-java-sdk-machinelearning/src/main/java/com/amazonaws/services/machinelearning/model/DescribeBatchPredictionsRequest.java