I have an interface where I select numbers using a multi select dropdown .
When I select it is in the sorted order
In the next confirmation screen , I show these values in an array as a read only paragraph , it is not maintaining the sorred order ( shown below )
a!paragraphField( label: "Item #", labelPosition: "ABOVE", instructions: "", value: a!forEach( items: toString(local!selectedItems), expression: substitute(fv!item, ";", ",") ), saveInto: local!selectedItems, readonly: true ),
I am displaying the paragraph as shown above , Is there anyway to display the local!selected items as sorted ?
Discussion posts and replies are publicly visible
Can you check what local!selectedItems actually contains after selection?Does it show {87, 88, 89...} or is it already scrambled like {118, 150, 87...}?