

# https://www.globalsino.com/ICs/page4853.html
# Sort a txt file


MyList = list()

filename = 'C:\GlobalSino\images\TestImages\Excel\TestList.txt'
with open (filename) as TheFile:
    for line in TheFile:
        MyList.append(line.strip())

MyList.sort()
print(MyList)



