restore sorting by header click