很silly的程序,备份用,临时拿来用挺方便的


a = []
with open('A.txt', 'r') as f:
    for line in f:
        a.append(line.strip())
for item in sorted(a):
    print(item)