How to Customize Demographics in Reference Registration App

Broadly the demographic section is not configurable, it’s only the additional sections that are.

However I believe you can change the order of the name fields by changing the underlying name layout in openmrs-core. See https://wiki.openmrs.org/x/P4_-B