So this is supposed to be a sorting program, but for some reason, it is not sorting the file I'm giving, but just giving me straight numbers as it is. Any help would be appreciated. Thank you

```
filename=input('Enter file path:')
file = open(filename, 'r')
alist = [(line) for line in file.readlines()]
print(alist)

def selectionSort(alist):
    for index in range(0, len(alist)):
        ismall = index
        for i in range(index,len(alist)):
            if alist[ismall] > alist[i]:
                ismall = i
        alist[index], alist[ismall] = alist[ismall], alist[index]
    return alist 

```