Check if any permutation of a given string is lexicographically larger than the other given string

Top