title: Sorting javascript arrays by [field] values gives wrong order
body: <p>I'm implementing SlickGrid and I want to allow sorting of values by columns, which is supported by SlickGrid by sorting arrays, however, when I sort the columns (arrays) they are not put in the "correct" order.</p>
  
  <p>The order in which they are returned is 1,10,100,11,199,2,20,200,3,30,300....</p>
  
  <p>The problem is displayed very clearly when trying to sort the tasks in this grid by title:
  <a href="http://mleibman.github.com/SlickGrid/examples/example-multi-column-sort.html" rel="nofollow">http://mleibman.github.com/SlickGrid/examples/example-multi-column-sort.html</a></p>
  
  <p>Although I use my own sorting rule, instead of the one used in the example:</p>
  
  <pre><code>data.sort(function(a, b){
            var result = 
                a[field] === b[field] ? 0 :
                a[field] &gt; b[field] ? 1 : -1
            ; 
            return args.sortAsc ? result : -result;
        });
  </code></pre>
  
  <p>The problem persists.</p>
  
  <p>My question is merely how to sort the array, so that the title (and other data) will be displayed in the correct order: 1,2,3,100,200,300...</p>