I have a large list of checkboxes (600+), would it be possible to use js to sort them alphabetically and then rearrange them by manipulating the dom?
from
<form id="stuff">
<input type="checkbox" value="bbb" /> bbb
<input type="checkbox" value="aaa" /> aaa
<input type="checkbox" value="ccc" /> ccc
</form>
to
<form id="stuff">
<input type="checkbox" value="aaa" /> aaa
<input type="checkbox" value="bbb" /> bbb
<input type="checkbox" value="ccc" /> ccc
</form>