You can completely rearrange your unit, so that it is facing in any direction, by giving up all other movement and shooting.
A unit of troops can change the direction in which it is facing and rearrange its formation all at once by means of a manoeuvre called a reform. The leader issues the order to adopt a new formation and the troops move to assume their new positions.
Keeping the centre point of the unit the same, arrange the unit into a new formation of as many ranks as you please, facing whichever direction you wish. Remember that none of the models in the unit can move more than twice their Movement rate.
A reform is a complicated manoeuvre and ordinarily prevents the unit from moving any further that turn, and also stops it from firing missile weapons in the Shooting phase.