Published: 2/19/2026 Shuttle Sorting APEX JavaScript How to sort values in a shuttle Function and Global Variable Declarationfunction sortSelectOptions(pThis){ var t=$($x(pThis)); var o=t.children("option"); o.detach(); o.sort(function(a,b){ a=a.firstChild.nodeValue; b=b.firstChild.nodeValue; if(a==b){ return 0; } return (a>b)?1:-1; }); t.append(o); }Dynamic ActionEvent / Change / ItemPNNNN_SHUTTLEEvent Scope Execute JavaScript Code* See belowFire On InitializationYes CodesortSelectOptions('PNNN_SHUTTLE' + '_LEFT'); sortSelectOptions('PNNN_SHUTTLE' + '_RIGHT');