title: Sort-Object and Integers
body: <p>I am trying to sort a colomn with numbers in a CSV file. But somehow it doesn't work. Sample CSV: </p>
  
  <pre><code>Orange;65
  Red;160
  Green;140
  White;110
  Purple;85
  </code></pre>
  
  <p>This is the piece of code I tried it with:</p>
  
  <pre><code>$csv = Import-Csv -Header "Color", "Number" -delimiter ';' data.csv
  $csv | Sort-Object Number
  </code></pre>
  
  <p>Which gives me the following output:</p>
  
  <pre><code>Color                Number
  -----                ------
  White                110
  Green                140
  Red                  160
  Orange               65
  Purple               85
  </code></pre>
  
  <p>Obviously not in the correct order. Can someone please explain me how to resolve this issue?</p>