/<operators are overloaded in string class. string get lexico sorted. still not able to get desired output. please find the error.
link to my code-https://ide.codingblocks.com/s/233324
Not getting desired output
put the string in a vector defined globally
and then sort it in the int main
then print
refer to this code
but whats the issue in my code. I am comparing each permutation with original string an then printing. link to my code-https://ide.codingblocks.com/s/233324
u need the final o/p in lexographic order
comparision is fine but they may not be in lexographic order