Creating a linked list, populating the list, sorting the list and then displaying the content of list