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. Differential revision: https://reviews.llvm.org/D78361