Pergunta de entrevista da empresa Microsoft

Write a program that would arrange birth dates in an ascending order.