how to sort every character in a string python code example Example: python string sort characters >>> a = 'ZENOVW' >>> ''.join(sorted(a)) 'ENOVWZ'