(#22205) Provide setting to control manifest ordering

The default ordering for manifests is something that is useful to be able
to control. This provides an setting that will be used to select between
the pre-#18508 and post-#18508 ordering mechanism.