Fixed order of writing config headers.