title: AWK -- How to do selective multiple column sorting?
body: <p>In awk, how can I do this:</p>
  
  <p>Input:  </p>
  
  <pre><code>1  a  f  1  12  v  
  2  b  g  2  10  w  
  3  c  h  3  19  x  
  4  d  i  4  15  y  
  5  e  j  5  11  z  
  </code></pre>
  
  <p>Desired output, by sorting numerical value at <code>$5</code>:  </p>
  
  <pre><code>1  a  f  2  10  w  
  2  b  g  5  11  z  
  3  c  h  1  12  v  
  4  d  i  4  15  y  
  5  e  j  3  19  x  
  </code></pre>
  
  <p><strong>Note</strong> that the sorting should <strong>only</strong> affecting <code>$4</code>, <code>$5</code>, and <code>$6</code> (based on value of <code>$5</code>), in which the previous part of table remains intact.</p>