Stingray interview question

Create a recursive function for sorting a list