sort logHeader into proper place