I was wondering if it is possible to sort options in a html select tag with using HTML and CSS only.
So given following snippet:
<select>
<option>c</option>
<option>b</option>
<option>a</option>
</select>
I want the browser to show those items in following order:
a
b
c
Using javascript, or worse hoping that those elements will come pre-sorted just feels so wrong :)
thx