title: jQuery TableSorter not sorting after <td> update database update using Ajax?
body: <p>I am implementing a rating system, where users can rank up/down entries. Each entry has a rank, initially rank is 0. I have this information stored in a database and then I print this table on a page and I use the jQuery tablesorter class, so all entries are sorted by rank.</p>
  
  <p>When a user ranks up/down  an entry I update the rank in the database and then I display the updated rank using ajax. Each entry has a up and down button. </p>
  
  <p>I have the tablesorter initialized:</p>
  
  <pre><code>$(function() {
      $('#list_sort').tablesorter({ 
          sortList: [[0,0]],     // allow sorting on the ranking column only
  
          headers: {
              1: {
                  sorter: false 
              }, 
              2: { 
                  sorter: false 
              }, 
              3: { 
                  sorter: false 
              }
          }
      })
  });
  </code></pre>
  
  <p>The up and down button has a onClick event and that calls a function which updates the database, and then using ajax the ranking  is updated but I want to sort it after it is updated. </p>
  
  <p>I tried several methods including:</p>
  
  <pre><code>$('#list_sort').trigger("update");
  </code></pre>
  
  <p>and </p>
  
  <pre><code>lastSortList = $("#list_sort")[0].config.sortList;
  $("#list_sort").trigger("#list_sort", [lastSortList]);
  $('#list_sort').tablesorter();
  </code></pre>
  
  <p>but nothing seems to work. Any help is appreciated.</p>