ml#TYPEt">t</a> -> 'a array</code></pre><div class="info ">
<code class="code">sorted cmp a</code> makes a copy of <code class="code">a</code> and sorts it with <code class="code">cmp</code>.<br>
<b>Since</b> 1.0<br>
</div>

<pre><span id="VALsort_indices"><span class="keyword">val</span> sort_indices</span> : <code class="type">('a -> 'a -> int) -> 'a <a href="Barray_slice.html#TYPEt">t</a> -> int array</code></pre><div class="info ">
<code class="code">sort_indices cmp a</code> returns a new array <code c