title: Sorting array of float point numbers
body: <p>I have an array of float point numbers:</p>
  
  <pre><code>[ 82.11742562118049, 28.86823689842918, 49.61295450928224, 5.861613903793295 ]
  </code></pre>
  
  <p>After running sort() on the array I get this:</p>
  
  <pre><code>[ 28.86823689842918, 49.61295450928224, 5.861613903793295, 82.11742562118049 ]
  </code></pre>
  
  <p>Notice how 5.8... is bigger than 49.6... for JavaScript (Node). Why is that?</p>
  
  <p>How can I correctly sort this numbers?</p>