Submit your widget

SortedList is a jQuery plugin to sort a list of DOM elements (table li)

Created 11 years ago   Views 4152   downloads 1101    Author Lutrasoft
SortedList is a jQuery plugin to sort a list of DOM elements (table li)
View DemoDownload
26
Share |

SortedList is a jQuery plugin to sort a list of DOM elements the way you want. Think about LI, TR, OPTION and even DIVS.

Sorting with table rows

Click on the table header to sort on that column, a second click makes is switch between ASC / DESC.
As you can see, you can easily update the sort settings, handle the ASC / DESC and sort the elements exactly the way you want.

What would be nice (and maybe in the future) would be that the demo would sort on 2 columns at once. This can easiliy be done by added and removing sort functions to the sort Array.

Demo & Docs