lib:sort:merge B to A function

A,B both are sorted, A is big enough to hold B and
its original data.
Test:lib:sort:merge B to A function