C language-merger sorting