i generate with DWR dynamically a list at the DOM, the problem is, that this list is not sorted. Is there a possiblility to sort after generating the list with javascript?
Simple store the content of each (assuming its text) LI + the node itself in an Array. Then use the Array's sort method to sort. Since the nodes are stores in the Array as well they are also sorted, and you can simply use appendChild to re-arrange the list.
Bookmarks