In AngularJS orderby filter is used to set array order ascending or descending using an expression.
Syntax