sort tickets within priority by most recently edited+status