[9.20] fix: dev: Preserve statement tag order in documentation
This supports bit-for-bit reproducibility of built documentation.
Closes #4886 (closed)
Backport of MR !9399 (merged)
This supports bit-for-bit reproducibility of built documentation.
Closes #4886 (closed)
Backport of MR !9399 (merged)