linked list with insort added