title: Why can't JavaScript sort [5, 10, 1]?
body: <p>This seems like a simple sort, yet JavaScript is giving an incorrect result.</p>
  <p>Am I doing something wrong or is this a language quirk?</p>
  <blockquote>
  <p>[5, 10, 1].sort();</p>
  <p>[ 1, 10, 5 ]</p>
  </blockquote>