exercises in sorting(orderBy) and filtering in angular/javascropt