from io import open
files=open("file.txt","r")
list=files.readlines()
The file I have put contains numbers and I want to sort those numbers but it does not let me because it takes it as a list of strings some idea or simple solution to solve this??