title: Sorting with unix tools and multiple columns
body: <p>I am looking for the easiest way to solve this problem. I have a huge data set that i cannot load into excel of this type of format</p>
  
  <pre><code>This is a sentence|10
  This is another sentence|5
  This is the last sentence|20
  </code></pre>
  
  <p>What I want to do is sort this from least to greatest based on the number.</p>
  
  <pre><code>cat MyDataSet.txt | tr "|" "\t" | ???
  </code></pre>
  
  <p>Not sure what the best way is to do this, I was thinking about using awk to switch the columns and the do a sort, but I was having trouble doing it.</p>
  
  <p>Help me out please</p>