I believe the standard interpretation of 'lined up' is 'in a line', as in a 'straight curve', which disallows your otherwise ingenious foil.
I figured a straight line would be equivalent to a random arrangement with each of the boxes being numbered, so I assumed the vagueness was designed to lead one into making a foolish assumption about their ordinal presentation. Maybe I'm paranoid :-)