I have generated HTML (i have no control of this) similar to this:
<ul id="list">
<li id="I">one</li>
<li id="II">two</li>
<li id="III">three</li>
<li id="IV">four</li>
<li id="IX">nine</li>
<li id="V">five</li>
<li id="VI">six</li>
<li id="VII">seven</li>
.....
......
......
</ul>
Basically, the code (SQL -> XML -> XSLT) that generated this is sorting by a field (which represents a roman numeral field) alphabetically. Is there a way i can use javascript to reorder the list items from the clientside?