x to sort</dd>
<dd><code>out</code> - Output matrix where the sorted input is inserted to</dd>
<dd><code>by</code> - The Ordering parameter</dd>
<dd><code>desc</code> - A boolean, specifying if it should be descending order.</dd>
<dd><code>ixret</code> - A boolean, specifying if the return should be the sorted indexes.</dd>
<dd><code>k</code> - Number of parallel threads</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The sorted out matrix.</dd>
</dl>
</li>
</ul>
<a id="reshape(org.apache.sysds.