﻿function sortRows() {
	// sort certain rows to the bottom
	$('ul.TaskList li').each(function() {
		if ($(this).attr('class') == "Completed" || $(this).attr('class') == "AlreadyDone") {
			$(this).clone().appendTo('ul.TaskList');
			$(this).remove();
		}
		if ($(this).attr('class') == "NotApplicable" || $(this).attr('class') == "DontWantToDo") {
			$(this).clone().appendTo('ul.TaskList');
			$(this).remove();
		}
	});
}
