Trying to build the node sorter. Insertion sort.