/**
* selector: jquery selector for all the tables that should have sorting
* option
* init: initial sorting. for example: " {sortList: [[0,0], [1,0]]}" does
* sort first and second column in ascending order
*/

function add_table_sorter(selector, init)
{
  $(document).ready(function()
    {
      $(selector).tablesorter(init);
    }
  );
}
