Currently, generated metrics view YAML does not match the layout of the Visual Metrics Editor.
We should have consistency between:
- the metrics view YAML generated by the "Generate metrics" buttons
- the metrics view YAML generated by the Visual Metrics Editor
- the visual layout of the Visual Metrics Editor
Here's the Visual Metrics Editor. Note the order in which fields are defined, and the order in which a measure/dimension is defined:

Here's YAML that's generated via the "Generate metrics" button, then edited by the Visual Metrics Editor. It's inconsistent & appears jumbled. It does not map 1:1 to the layout of the Visual Metrics Editor.
