Steps to Reproduce:
- Install Template Data and Template Wizard on MW 1.33 (or presumably newer versions also).
- Add template data, set some data as required and others as suggested
- Set a paramOrder, save the template, null edit the template (with no edit description given) to ensure the template data shows up.
- Edit a page via source editor and insert a template, see that all suggested parameters are not sorted according to the set paramOrder but rather, the order in which they are used in the template.
Suggested parameters (which are shown below required parameters) are sorted in the order in which they are used in the template, rather than in the paramOrder set in the Template Data.
Suggested parameters should show (in the suggested parameter section, below the required parameters) in the paramOrder specified instead of in the order in which they are used in the template. Template Wizard should be able to respect paramOrder, VE respects it, but Template Wizard in source edit doesn't.