title: Sort using argsort in python
body: <p>I try to sort an array: </p>
  
  <pre><code>import numpy as np
  
  arr = [5,3,7,2,6,34,46,344,545,32,5,22]
  print "unsorted"
  print arr
  
  np.argsort(arr)
  
  print "sorted"
  print arr
  </code></pre>
  
  <p>But the output is:</p>
  
  <pre><code>unsorted
  [5, 3, 7, 2, 6, 34, 46, 344, 545, 32, 5, 22]
  sorted
  [5, 3, 7, 2, 6, 34, 46, 344, 545, 32, 5, 22]
  </code></pre>
  
  <p>The array does not change at all</p>