append works, insertsort works