Both subjects and subject alternative names can be built up from fields in submitted certificate sign requests, fields from the submitted form, or Apache httpd expressions, or any combination thereof.
The order of the directives controls the order that the components of the subjects or subject alternative names appear in the resulting certificate.
It is possible to pass through all fields in a submitted certificate sign request using a wildcard, or to explicitly set each component individually as needed.