How To Compare Two Strings Lexicographically