fix issue filter fail after sort