public void sortMembers() {
        transforms.add((model, transformer) -> {
            LOGGER.finest("Sorting model members for directed codegen");
            return transformer.sortMembers(model, Shape::compareTo);
        });
    }
Sorts all members of the model prior to codegen.

<p>This should only be used by languages where changing the order of members
in a structure or union is a backward compatible change (i.e., not C, C++, Rust, etc).
Once this is performed, there's no need to ever explicitly sort members
throughout the rest of code generation.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/directed/CodegenDirector.java