1

I have three levels of Individuals in my ng-repeat scope, who are to be ordered by their level. Always the level 1 individuals should be first then level 2 individuals and then level 3. when there are multiple individuals in the same level, they need to be ordered by their date of birth.

Please help me with the way I can filter this.

mk900
  • 33
  • 1
  • 4

1 Answers1

0

What you're looking for is called grouping.

If you google 'angular group by filter', you'll come up with this answer (among others): How can I group data with an Angular filter?, the solution for which works very well.

Community
  • 1
  • 1