linked list as an ordered list