Pergunta de entrevista da empresa DuckTale IT Services

How to sort two arrays