fixed sorting with filters enabled