diff --git a/modules/io/src/mol/mmcif_writer.cc b/modules/io/src/mol/mmcif_writer.cc
index 8c5ba161df14ae03fb18998934613c343c2db075..e7c1571724ced7c6dfded9971c36492c3f61e9e7 100644
--- a/modules/io/src/mol/mmcif_writer.cc
+++ b/modules/io/src/mol/mmcif_writer.cc
@@ -1352,15 +1352,15 @@ void MMCifWriter::Finalize(ost::conop::CompoundLibPtr compound_lib) {
   Feed_pdbx_entity_branch(pdbx_entity_branch_, entity_info_);
 
   // finalize
-  this->Push(chem_comp_);
   this->Push(entity_);
-  this->Push(struct_asym_);
   this->Push(entity_poly_);
   this->Push(entity_poly_seq_);
-  this->Push(pdbx_poly_seq_scheme_);
-  this->Push(atom_type_);
+  this->Push(chem_comp_);
+  this->Push(struct_asym_);
   this->Push(pdbx_entity_branch_);
+  this->Push(atom_type_);
   this->Push(atom_site_);
+  this->Push(pdbx_poly_seq_scheme_);
 
   structure_set_ = true;
 }