Big O Sorts of n^2 and n*log(n)