The ordered magnetic field of the magnetosheath