Create RecursiveArraySorting

Not sure how to get this to be recursive. I can see how to sort it regularly with 2 while loops, 1 comparing the current word vs all the words (bubble sort), and the other looping through each word, but not getting how to make it work recursively