title: Matlab: Sort matrix columns by size of different elements per column
body: <p>We have a matrix:</p>
  
  <pre><code>Index:    1 2 3 4 5 6 
  
  Elements:
            0 2 0 5 9 8 
            1 0 5 0 5 4
            0 1 0 0 6 0 
  </code></pre>
  
  <p>Is it possible to be sorted by size of different elements per column?
  Result should be like this:</p>
  
  <pre><code>  Index:     5 2 6 1 3 4 
  
    Elements:
               9 2 8 0 0 5 
               5 0 4 1 5 0
               6 1 0 0 0 0 
  </code></pre>
  
  <p>Thank you in advance.</p>