1. The problem statement, all variables and given/known data Create a SortedLinkedList class which implements the LinkedListInterface. Remember to use the Comparable class Basically, I need to implement a sorted linked list that uses generics and uses compareTo to sort objects. I need it to be able to sort names alphabetically. Can't use priorities or indexes. 2. Relevant equations n/a 3. The attempt at a solution My main problem is getting the add() function to work properly. It can sort the head and tail, but it's all the stuff in the middle that is the problem. It won't properly sort anything in the middle between the head and tail. It must be something wrong with my while loop. Here is my code for the add() function: Here is the input: and here is the output after running: I have honestly been working on this for a week and I don't understand why it's not working. I've followed in class examples for our priority and linked queues and online tutorials that are similar but nothing works. Any help would be appreciated. Thank you.