list merge sort buggy