how to sort lists like "names" in ascending order in html code?

Isaac

New member
does anybody know how to sort a list of items in ascending order in html?
eg
<ol>
<li order="asc">
banana
orange
apple
</li>
</ol>


and the output will be (when opened with browser)

apple
banana
orange
 
Back
Top