fixed sorting after filter change