Let's say you have three String arrays for example:
array1: as,hi,ji
array2: fo,gl
array3: gt,my,wx,zq
As you can see, the individual arrays are sorted. How would you merge them, with the merged array also being sorted? I know you can first write a method to merge a pair of them, then merge the final one with this new one. Mostly I am just confused if you should first merge then sort or vice versa. Would merge sort be useful?