Question d’entretien chez ABN AMRO

Write down a code to produce an ordered sequence