是否可以对div的内容进行排序
<div id="sort">
<div id="something">A2</div>
<div id="something">A1</div>
<div id="something">A4</div>
<div id="something">A3</div>
</div>
排序为:
<div id="sort">
<div id="something">A1</div>
<div id="something">A2</div>
<div id="something">A3</div>
<div id="something">A4</div>
</div>
有这样的吗???
$('#sort').sort();