Circus tower sorting

Circus tower sorting - Coding Problem | K5kC