title: AngularJS orderBy not numerical
body: <p>Trying to keep the code as minimal as possible (avoiding writing a sort function). I have a simple table of data that is sortable.</p>
  
  <p>The issue in this example is that "score" does not sort numerically. The user 'Julie' has the lowest score of '9.12' however when sorted it appears to be doing so lexically.</p>
  
  <p>The example is a modified version of the example used in the <a href="http://docs.angularjs.org/api/ng/filter/orderBy" rel="nofollow">angular docs on orderby</a></p>
  
  <p>Here is a snippet of the code and associated plunker.</p>
  
  <pre><code>&lt;pre&gt;Sorting predicate = {{predicate}}; reverse = {{reverse}}&lt;/pre&gt;
    &lt;hr/&gt;
    &lt;table class="user"&gt;
      &lt;tr&gt;
        &lt;th&gt;&lt;a href="" ng-click="predicate = 'name'; reverse=false"&gt;Name&lt;/a&gt;
            (&lt;a href="" ng-click="predicate = '-name'; reverse=false"&gt;^&lt;/a&gt;)&lt;/th&gt;
        &lt;th&gt;&lt;a href="" ng-click="predicate = 'score'; reverse=!reverse"&gt;user score&lt;/a&gt;&lt;/th&gt;
        &lt;th&gt;&lt;a href="" ng-click="predicate = 'age'; reverse=!reverse"&gt;Age&lt;/a&gt;&lt;/th&gt;
      &lt;/tr&gt;
      &lt;tr ng-repeat="user in users | orderBy:predicate:reverse"&gt;
        &lt;td&gt;{{user.name}}&lt;/td&gt;
        &lt;td&gt;{{user.score}}&lt;/td&gt;
        &lt;td&gt;{{user.age}}&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/table&gt;
  </code></pre>
  
  <p><a href="http://plnkr.co/edit/Ytpj3SUgtLKQvQvB4Yhb" rel="nofollow">http://plnkr.co/edit/Ytpj3SUgtLKQvQvB4Yhb</a></p>