Sorting in Angularjs

I have something like below code in angularjs and need to sort records by employee.JoinDate.Basically employee object contains “employee.Name”,“employee.Age”,“employee.JoinDate” etc.How can I achieve ?

 <md-item ng-repeat="employee in vm.employees">

Use the orderBy filter.

Thank you so much

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.