sorting a text file alphabetically (python),lines.sort()