sort viewed and nbookmarks