sort phones by query string ordered by age or alphabetical + create jasmine test