title: Numeric sorting in Perl - wrong output
body: <p>I am trying to sort an array, but the output is not as expected. My array has:</p>
  
  <pre><code>11873
  11873
  11873
  14361
  16857
  15795
  14361
  14361
  14361
  </code></pre>
  
  <p>After I sort with following code, I get same array:</p>
  
  <pre><code>@sort_start= (sort{my $b &lt;=&gt;my $g} @start);
  </code></pre>
  
  <p>I cannot understand why.</p>