Logging and bookmarking and recovering sort order and direction.