sort list using insertion sort