BNY Interview Question

Sorting two arrays