a linked list implementation written in C which automatically sorts its entries