title: Why does call does not work as A sort function?
body: <p>I'm reading <a href="http://shop.oreilly.com/product/9780596517748.do" rel="nofollow">javascript the good parts</a>, and the author gives an example that goes like so:</p>
  
  <pre><code>['d','c','b','a'].sort(function(a,b) {
    return a.localeCompare(b);
  });
  </code></pre>
  
  <p>Which behaves as expected.
  Now I have tried to do something like this - which is the next logical step:</p>
  
  <pre><code>['d','c','b','a'].sort(String.prototype.localeCompare.call);
  </code></pre>
  
  <p>And that fails with an error:</p>
  
  <pre><code>TypeError: object is not a function
  </code></pre>
  
  <p>Now I left wondering why...
  Any ideas?</p>