title: Indices of sorted array
body: <p>I have a 2 dimensional Array with shape (nrows,ncols) containing real numbers. I would like get the indices (row,col) corresponding to the Array values in decreasing order. Checking the documentaion of np.argsort(), it seems that it only returns the indices ordered by a specific axis. Im sure that that this should be simple but i just cant figure it out. </p>
  
  <p>For example, if i have:</p>
  
  <pre><code>[
  [1   5   6]
  [7   4   9]
  [8   2   3]
  ]  
  </code></pre>
  
  <p>the desired output would be:</p>
  
  <pre><code>[
  (1,2),
  (2,0),
  (1,0),
  (0,2),
  (0,1),
  (1,1),
  (2,2),
  (2,1),
  (0,0),
   ]
  </code></pre>