Maintain field order defined in document type class