If i have a string is there a built in function to sort the characters or would I have to write my own?
for example:
string word = \"dabc\"; <
string word = \"dabc\";
std::sort(str.begin(), str.end());
See here