reverse bubble-sort algorithm
linked list