$(function() {
	$(".add").button();
	$(".edit").button();
	$(".delete").button().click(function() {
		var res = confirm("Are you sure you want to delete this item?");
		if (res)
			window.location.href=$(this).attr('href');
		else
			return false;
	});
	$(".view").button();
	$(".submit").button();
	
	$("#ingredients_table table").tablesorter();
});
@@ -340,11 +340,53 @@
 rter();%0A
+%09$(%22#effects_table table%22).tablesorter();%0A
 %7D);

Add tablesorter to effects table