# 复制粘贴题目的字符,删去中文‘和’
s="'P'、'y'、't'、'h'、'o'、'n'"

s=s.replace('\'','')

s=s.split('、')
print(sorted(s))

print(s)
s.sort(reverse=True)
print(s)