sort linked list finished