linked list is now ordered and in a separate file