This validates that sections listed for a segment in the YAML
declaration are ordered by their file offsets.
It might help to simplify the file size computation, but also
is useful by itself as helps to avoid issues in test cases and
to maintain their readability.
the file offset -> their offsets
(sections only have one kind of offset field defined, so I don't think you need to say "file")