Just need to convert my working selection sort function into a recursive one. I don't understand recursive functions very well so any explanation or assistance is much appreciated.
Code:

...