Save/restore history/bookmarks sort order