Put insertion sort algorithm into LinkedList