List merge sort stuff