How can we sort a string elements in Python

welcome to shbcf.ru