merge sort for linklist and radix sort