CrimsonLogic Interview Question

Organizing a strictly increasing list