HubSpot interview question

Merge two sorted arrays and sort the merged array