title: How to get indices of a sorted array in Python
body: <p>I have a numerical list:</p>
  
  <pre><code>myList = [1, 2, 3, 100, 5]
  </code></pre>
  
  <p>Now if I sort this list to obtain <code>[1, 2, 3, 5, 100]</code>. 
  What I want is the indices of the elements from the 
  original list in the sorted order i.e. <code>[0, 1, 2, 4, 3]</code> 
  --- ala MATLAB's sort function that returns both 
  values and indices. </p>