title: Issue with unix sort
body: <p>This is more of a doubt than a question.</p>
  
  <p>So I have an input file like this:</p>
  
  <pre><code>$ cat test
  class||sw sw-explr bot|results|id,23,0a522b36-556f-4116-b485-adcf132b6cad,20130325,/html/body/div/div[3]/div[2]/div[2]/div[3]/div/div/div/div/div/div[2]/div/div/ul/li[4]/div/img
  class||sw sw-explr bot|results|id,40,30cefa2c-6ebf-485e-b49c-3a612fe3fd73,20130323,/html/body/div/div[3]/div[2]/div[3]/div[3]/div/div/div/div/div[3]/div/div/ul/li[8]/div/img
  class||sw sw-explr bot|results|id,3,72805487-72c3-4173-947f-e5abed6ea1e4,20130324,/html/body/div/div[3]/div[2]/div[2]/div[2]/div/div/div/div/div/div[3]/div/div/div[2]/ul/li[20]/div/img
  </code></pre>
  
  <p>Kind of defining the element in an html page.
  The comma separated 5 columns can be considered.</p>
  
  <p>I want to <code>sort</code> this file with respect to the second column, i.e. columns having 23,40,3.</p>
  
  <p>I am not sure why <code>unix</code> <code>sort</code> isn't working.</p>
  
  <p>These are the queries I tried, surprisingly none gave me desired result.</p>
  
  <pre><code>cat test | sort -nt',' -k2
  
  cat test | sort -n -t, -k2
  
  cat test | sort -n -t$',' -k2
  
  cat test | sort -t"," -k2
  
  cat test | sort -n -k2
  </code></pre>
  
  <p>Is there something about <code>sort</code> that I don't know?</p>
  
  <p>This didn't cause me a problem as I separated the columns, sorted, then joined again. But why did not <code>sort</code> work??</p>
  
  <p>NB:- If I remove $3 of this file and then sort, it works fine!</p>