sort list -- merge sort, add some tests for it