title: AngularJS orderBy not working at all despite ng-repeat over an array of objects
body: <p>I can't figure out why my <code>orderBy</code> filter isn't working at all, I've looked at every freaking solution out there and all point to the fact that the <code>ng-repeat</code> is operating on an object of objects instead of array of objects. But mine is an array of objects as seen here:</p>
  
  <pre><code>[Object, Object, Object]
  
  0: Object
    $$hashKey: "object:19"
    dataLink: ""
    id: "633"
    name: "My first graph"
    order: 1
    parentTarget: ""
    presenceLink: ""
    size: 12
    span: 1
    subType: 1
    type: 1
    __proto__: Object
  1: Object
    $$hashKey: "object:20"
    dataLink: ""
    id: "634"
    name: "My second graph"
    order: 2
    parentTarget: ""
    presenceLink: ""
    size: 6
    span: 1
    subType: 1
    type: 3
  __proto__: Object
  2: Object
    $$hashKey: "object:21"
    dataLink: ""
    id: "635"
    name: "My third graph but in front"
    order: 1
    parentTarget: ""
    presenceLink: ""
    size: 12
    span: 0
    subType: 1
    type: 1
  __proto__: Object
  </code></pre>
  
  <p>So how come this isn't working:</p>
  
  <pre><code>&lt;ul class="row graphs-list"&gt;
    &lt;li class="col-xs-12 col-sm-6 col-md-{{graph.size}} graphs-item" ng-repeat="graph in ds.graphs | orderBy:'graph.order'"&gt;
      &lt;pre&gt;
        {{graph.order}}
      &lt;/pre&gt;
      &lt;h5 class="graph-name" ng-bind="graph.name"&gt;&lt;/h5&gt;
      &lt;am-menu host="graph" options="graphs"&gt;&lt;/am-menu&gt;
      &lt;nvd3 options="gv.options[gv.getTypeFromId(graph.type)]" data="gv.data[gv.getTypeFromId(graph.type)]"&gt;&lt;/nvd3&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Any ideas?</p>