Is there a fairly easy way to sort div id's with php? I tried a jquery script to sort it be it gave a big delay on the page load.
Example html part (unsorted)
<div id="1">Content1</div>
<div id="3">Content3</div>
<div id="2">Content2</div>
Example html part (End result, Sorted with php or java)
<div id="1">Content1</div>
<div id="2">Content2</div>
<div id="3">Content3</div>
Thank you, Bjorn