In general, how would the code look to merge sort values of a character array with the smallest value at the front of the list and the largest value at the end of the list?
For example:
1 2 3
char input[30] = "hamburger";
Mergesort(input); //this merge sorts "hamburger"
char sortedInput[30] = "abeghmrru"; //this should be the end result of merge sorting
I've searched online, but there is nothing about character arrays getting merge sorted compared to the number of threads you can find on integer arrays getting merge sorted.