Angular sorting is not stable, changed to synatax with array of predicates