Update RecursiveArraySorting

Solved - works like built in sort - not clear why it removes duplicates though - very cool.