Created a sorting method for ch 10-- no recursion
Created a recursive sort method