Sort an Integer Array and Store result with its index in Java
<p>hello guys i need to sort some elements of integer in an integer array and need to store the index of the sorted list</p>

<p>assume if the elements in array are </p>

<pre><code>x[]= {10,20,40,70,80,50,30};
</code></pre>

<p>i need to get the index of the sorted order say in this case i need to get <code>4,3,5,2,6,0</code> (ascending) (array x starting from 0)</p>
