Pergunta de entrevista da empresa Cisco

Sort a list with odd and even numbers together