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