title: Angular ng-options, sort object
body: <p>I have an object which looks like:</p>
  
  <pre><code>{
     3019: 'Javascript',
     3046: 'Css'
  }
  </code></pre>
  
  <p>and then, I show this object in a <code>select</code> like:</p>
  
  <pre><code>&lt;select
      ng-model="langChoosed"
      ng-options="key as value for (key, value) in progLanguages"
  &gt;&lt;/select&gt;
  </code></pre>
  
  <p>I need to sort the items inside the select but the <code>orderBy</code> filter, seems to work only on arrays, how can I make it work with objects?</p>