Is there a built-in method for sorting characters in a string, or do I have to construct my own?
for instance:
string word = "dabc";
I would want to change it so that:
string sortedWord = "abcd";
Perhaps char is a better option?
How would I go about doing this in C++?