angularjs 1.5: How to enable auto-sort on key value object?
<p>I recently upgraded my application from angularjs <code>v1.2</code> to <code>v1.5</code>. On <code>v1.2</code> angularjs was auto sorting key/value based objects in drop-down. But now as I upgraded to <code>1.5</code> every drown on my web app is showing items in random order (i.e. order coming from db). Is there any global parameter I can enable in <code>1.5</code> to get that auto-sort functionality again?</p>

<pre><code>app.controller('MainCtrl', function($scope) {
  $scope.days = {
    'key1': 'val1',
    'key7': 'val7',
    'key3': 'val3',
    'key9': 'val9',
    'key2': 'val2',
    'key5': 'val5',
    'key4': 'val4',
  };
});
</code></pre>

<p>I created plunk for both versions to ellaborate the problem clearly,</p>

<p>ver <code>1.2</code>
<a href="https://plnkr.co/edit/o0KJXjW25nlvDoKliHV0?p=preview" rel="nofollow">https://plnkr.co/edit/o0KJXjW25nlvDoKliHV0?p=preview</a></p>

<p>ver <code>1.5</code>
<a href="https://plnkr.co/edit/TudDwMhaAREhGVl5vz2c?p=preview" rel="nofollow">https://plnkr.co/edit/TudDwMhaAREhGVl5vz2c?p=preview</a></p>