Lexicon Networks interview question

Q2: Write a program to sort two arrays, merge them into one array, and then sort the merged array.