title: array.sort() does not work in IE 11 with compareFunction
body: <p>I'm sorting an array following <a href="http://www.w3schools.com/jsref/jsref_sort.asp" rel="noreferrer">JavaScript Array sort() Method</a>. When I use a <code>compareFunction</code> parameter, Internet Explorer 11 is not sorting properly.</p>
  
  <p>I have a team array with players. These players have names:</p>
  
  <pre><code>var team = [
    {name:"Waldo"}, 
    {name:"Sarah"}
    ];
  </code></pre>
  
  <p>But I want to display them at the stadium video board sort by alphabetical order. So I have a list to append them when the DOM is ready:</p>
  
  <p>MyHtml</p>
  
  <pre><code>&lt;h2&gt;My Team after sorting&lt;/h2&gt;
        &lt;button onclick='sortAndDisplay()'&gt;Click here to sort by Name&lt;/button&gt;
        &lt;ul id="myTeamAfter"&gt;
  
        &lt;/ul&gt;
  </code></pre>
  
  <p>My Javascript code</p>
  
  <pre><code>function sortAndDisplay(){
    $("#myTeamAfter").empty();
    team.sort(function(a, b){return a.name &gt; b.name;});
    for(var i=0; i &lt; team.length; i++){
      $("#myTeamAfter").append( "&lt;li&gt;" + team[i].name + "&lt;/li&gt;" );
    }
  }
  </code></pre>
  
  <p>Problem is that some Clubs use Internet Explorer 11 at their stadiums, and sort() function when I use my own <code>compareFunction</code> is not working properly on IE11, so Waldo is displayed first than Sarah and the fans are confused.</p>
  
  <p>I've created a <a href="http://plnkr.co/edit/TNsa5N?p=preview" rel="noreferrer">Plunker</a> where you can reproduce it:</p>
  
  <ul>
  <li>Firefox 33.1                - Working!! :)</li>
  <li>Chrome 39.0.2171.65         - Working!! :)</li>
  <li>Internet Explorer 11.0.9600 - Not Working :(</li>
  </ul>
  
  <p>Any idea to resolve the sort() for every browser?</p>
  
  <p>Thanks!</p>