You're welcome! ;)

@Adak,using your concept i found answer for my question(how to sort two integer arrays for n numbers) and executed the program,i got the expected result,thanks a lot for ur timely help....