Bug: in some cases the order of the editions inserted in the linked list is not correct, e.g.: a second edition that has a lower location than the first one is not correctly registered because is in wrong order in the list.
Fix: I have rewritten the insertItem() function, now looks good, please test.
Bug: in some cases the order of the editions inserted in the linked list is not correct, e.g.: a second edition that has a lower location than the first one is not correctly registered because is in wrong order in the list.
Fix: I have rewritten the insertItem() function, now looks good, please test.