Created attachment 1360984 [details] Service Dialog sorting example Description of problem: Sorting in Service Dialog Elements is broken. 1) The sort is not honoring the sort order. Sorting is always descending for dropdowns and ascending for radio buttons. 2) Sorting of dropdown elements is different when sorting by value vs. description. The "None" selection is at the top (as expected) when sorting by value and at the bottom when sorting by description. Version-Release number of selected component (if applicable): 5.9.0.11 How reproducible: Always Steps to Reproduce: 1. Import the Service Dialog export attached to this BZ 2. Create a Service Catalog Item that uses the imported dialog 3. Order the Service Catalog Item Actual results: Dropdown and radio button fields are not sorted properly Expected results: Sorting works as defined in the dialog Additional info:
The Service UI has the same problem (I think this is expected since moving the OPS UI to use the same dialog format as the SUI).
GH PR https://github.com/ManageIQ/ui-components/pull/212
This fix is strictly for sorting of dropdowns and radio lists.
Verified in Version 5.10.0.14.20180831154906_2f9a1dd