Recursion- Dictionary Order(Larger)

This is the link to my code. I can’t understand how to sort all the strings lexicographically greater than the input string.

I am able to print all the strings greater than input string but can’t sort them.

@mansi_sharma9kF
hello Mansi,
a) store all greater strings in vector
b) and then sort the vector using inbuilt sort function (it will sort the strings in lexicographical order)
c) then print ur sorted vector