pub fn write(w: impl Write, sections: &[Section<'_>]) -> Result<()>
Write sections in order. Each section’s keys must be sorted.
sections