What is to arrange in exact continuity of line, as soldiers; commonly to adjust to a straight line and at proper distance; to align; as, to dress the ranks called?

dress — (Mil.) To arrange in exact continuity of line, as soldiers; commonly to adjust to a straight line and at proper distance; to align; as, to dress the ranks. (Webster's 1913.)

Sources