Get new jQuery plugins just once a week



FavoriteLoadingAdd to favorites

April 23, 2014

SortedList | jQuery plugin to sort any DOM element

SortedList is a jQuery plugin to sort a list of DOM elements the way you want like Li , tr , options and even divs.
Example Code :-

$( "tbody" ).sortedList({
selector : "tr",
sort : [
function( el )
// Return an object, so you can pass the order and data to sort with
return {
order : order ? "desc" : "asc" ,
data : $( el ).find( "td" ).eq( columnIndex ).text( )

Created by Niels




Related posts:

jquery planetarium
Rate Yo
SortedList jQuery plugin

jQuery plugin

Sign up for our weekly newsletter.

* We won't spam you ever