Sort Linked list 1st solution