fixed sorting on phone_active queries