title: Problem sorting array with decimal numbers
body: <p>I'm trying to sort a simple array which only contains a few decimal numbers. </p>
  
  <p>e.g:</p>
  
  <pre><code>( [0] =&gt; 0.05 [1] =&gt; 0.076 [2] =&gt; 0.092 )
  </code></pre>
  
  <p>using this:</p>
  
  <pre><code>$stuff = sort ($comparison);
  </code></pre>
  
  <p>However when I use the php sort, asort ect functions, instead of getting a sorted array, I get the number 1. Very confusing! Any help?</p>