def _get_query_params(query):
query_params = OrderedDict(sorted(query['<STR_LIT>'].items()))<EOL>return '<STR_LIT:U+0020>'.join(['<STR_LIT>'.format(k, v) for k, v in query_params.items()])<EOL>
>>> _get_query_params({'query': {'a': 1, 'c': 3, 'b': 5}})
'a=1 b=5 c=3'