angularjs - Can't keep the array order with orderBy in ngRepeat -


i'm totally stucked issue.

i've got array returned in specific order server , display items through ngrepeat.

i keep same order array's order @ beginning can't. automatically sorts array id.

ng-repeat="item in filtered = (items | orderby:predicate:reverse)" 

when loaded, need keep same order array returned server.

what wrong here ?


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -