insertion sort and linked list