Custom sort function in ng-repeat
Actually the orderBy filter can take as a parameter not only a string but also a function. From the orderBy documentation: https://docs.angularjs.org/api/ng/filter/orderBy): function: Getter function. The result of this function will be sorted using the <, =, > operator. So, you could write your own function. For example, if you would like to compare cards … Read more