title: sort hex numbers of different length from the command line?
body: <p>If I have a file of hex numbers of different length e.g.</p>
  
  <pre><code>1F
  b
  c
  </code></pre>
  
  <p>How can I sort them from the command line?</p>
  
  <p>Linux solutions are welcome, though I'll be using windows and cygwin or gnuwin32.</p>
  
  <p>Note: I clearly can't use SORT 'cos that will keep them in that order which is wrong.</p>