simple table sorter application using jquery, tested with jasmine