sort the string in python code example
Example 1: python string sort characters
>>> a = 'ZENOVW'
>>> ''.join(sorted(a))
'ENOVWZ'
Example 2: sorted python
var = sorted(old_var)
>>> a = 'ZENOVW'
>>> ''.join(sorted(a))
'ENOVWZ'
var = sorted(old_var)