[Haskell-cafe] Writing insertionSort using foldr and a helper function