Sort List Of Strings Lexicographically Python