Write code to get all possible permutations of a given string in lexicographical order.
Implement def permutations_lexicographical(s):, returning a list of unique permutation strings in ascending lexicographical order. Repeated characters must not produce duplicate permutations.
def permutations_lexicographical(s):