collect order that items appear in qstruct definition

- This is so that Qstruct::Compiler can output them in a "nice" order