Have not figured out why yet, but every so often my door build order spawns sideways despite ordering it vertical. Happens on all types of doors. Simple fix is to cancle the order, rotate a couple of times and place back down. Definatly not game breaking.
Just continue building and every so often it will happen. I cant reproduce reliably.