Generate parenthesis problem

how to sort the outputs generated by recursion…

@soorya19k store in a set of strings .
if your doubt is cleared dont forget to mark it as resolved :smiley:

after storing it in string set i am unable to sort the array of strins

what do you mean please share your code and question link @soorya19k