Your task is to write a function that sorts an array.
Cannot call other functions (excluding itself, of course);
Must receive an array of integers as input, and it must return the ordered array. Feel free to add other parameters as input, if you need them.
Cannot use any kind of loop (for, while...) except recursion;
Cannot access the internet;
Can be overloaded if you need it.
Code-Golf here. Shortest code wins, as usual.