Recursion dictionary order larger

my approach here is to first find all the permutations, sort them, and then print all the larger strings than the given string, is this a good approach or is there any better approach?