refined bubble sort. linkedlist.