def _process_and_sort(s, force_ascii, full_process=True):
 ts = (utils.full_process(s, force_ascii=force_ascii) if full_process else s)
 tokens = ts.split()
 sorted_string = u' '.join(sorted(tokens))
 return sorted_string.strip()

def _process_and_sort ( s , force_ascii , full_process = True ) : ts = ( utils . full_process ( s , force_ascii = force_ascii ) if full_process else s ) tokens = ts . split ( ) sorted_string = u' ' . join ( sorted ( tokens ) ) return sorted_string . strip ( )
return a cleaned string with token sorted .