<script>
$(function() {
// choose target dropdown
var select = $('select[name="subOrders[0].deliveryCharge"]');
select.html(select.find('option').sort(function(x, y) {
return $(x).text() > $(y).text() ? 1 : -1;
}));
var selectCharge = Array.from(document.querySelectorAll('.orderChargeSelect option'))
.find(el => el.textContent === 'Please Select');
selectCharge.setAttribute('selected', true);
$(selectCharge).prependTo('.orderChargeSelect ');
});
</script>