"w"> </span><span class="nt">sort</span><span class="w"> </span><span class="nt">the</span><span class="w"> </span><span class="nt">array</span><span class="w"> </span><span class="nt">using</span><span class="w"> </span><span class="nt">the</span><span class="w"> </span><span class="nt">rank</span><span class="w"> </span><span class="nt">index</span><span class="w"></span>

<span class="w">   </span><span class="nt">do</span><span class="w"> </span><span class="nt">i</span><span class="o">=</span><span cla