Working on double-linked-list, skeletonized bubble-sort