Bug #22269
closedOperating system templates are ordered inconsistently in UI.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1531674
Description of problem:
If you navigate to "Hosts" -> "Operating Systems" -> specific-OS -> "Templates" tab for two different Operating Systems, the list of template types can be ordered differently. This makes for side-by-side comparison awkwardness.
How reproducible:
Steps to Reproduce:
1. navigate to "Hosts" -> "Operating Systems" -> specific-OS -> "Templates" tab for two different Operating Systems and compare the order.
Actual results:
Example from customer and local reproducer...
"Red Hat 7.3" template order....
Provisioning template
PXELinux template
Finish template
iPXE template
User data template
Discovery Kexec template
Boot disk embedded template
"Red Hat 6.8" template order ....
PXELinux template
iPXE template
Provisioning template
Finish template
User data template
Discovery Kexec template
Boot disk embedded template
Expected results:
Consistency in the order of template types - Maybe alphabetical (excepting when types are missing due to not being applicable)