* Modified sorting algorithm two different ways, recursive and simple