removed sort by priorty, added sort by team