AngularJS factory for the auto management of sort predicates for AngularJS' built-in orderBy filter