My updated sortedset and linkedlist