按从小到大排序去重

#按从小到大排序去重

s='aaaadssfsdfsggsdhshsdh'

s2=set(s)
print(s2)
s1=list(s2)
print(s1)
s3=sorted(s1)
print(s3)
for i in s3:
    print(i+'\n')