i have a select option
<select>
<option>aaa</option>
<option>ccc</option>
<option>ddd</option>
<option>bbb</option>
</select>
How to sort them. so output will
aaa
bbb
ccc
ddd
this question is asked to me in an interview answer if any Know Thanks In advance