invalid sorting if column scrolled