I'm trying to sort my list of arrays, but to no avail.
The problem: I have a list of objects however I need to sort it by an id string, which is inside an array.
JSON:
[{"id":2613,"name":"Aula 01","section":989},{"id":2614,"name":"Aula 02","section":989},{"id":2616,"name":"Aula 04","section":989},{"id":2617,"name":"Aula 05","section":989,},{"id":2615,"name":"3 - Aula 03","section":989}]
Array id sequence:
["2613", "2614", "2615", "2616", "2617"]
How to order ng-repeat or a loop in this array?