title: Javascript sort array function performance
body: <p>Does anyone know how the built-in JS function <code>array.sort()</code> functions internally?  I mean does it change strings to numbers....etc</p>
  
  <pre><code>var keys = new Array();
  keys.sort();
  </code></pre>