def iter_cookie_browse_sorting(cookies):
try:<EOL><INDENT>data = cookies.get('<STR_LIT>', '<STR_LIT>').encode('<STR_LIT:ascii>')<EOL>for path, prop in json.loads(base64.b64decode(data).decode('<STR_LIT:utf-8>')):<EOL><INDENT>yield path, prop<EOL><DEDENT><DEDENT>except (ValueError, TypeError, KeyError) as e:<EOL><INDENT>logger.exception(e)<EOL><DEDENT>
Get sorting-cookie from cookies dictionary.

:yields: tuple of path and sorting property
:ytype: 2-tuple of strings