pair, tuble and list sort with merge sort for class 5.2