Citadel interview question

Sort the lamps in a decreasing order