結果 : how to compare two strings lexicographically in python