function sortCompleteCallback(tableId) {
        // After sorting, reset to the first page
        // NOTE: This doesn't work properly! The current (first) page selected isn't indicated!
        //tablePaginater.showPage(tableId, 0);
        tablePaginater.showPage(tableId);

        // Renumber the first column; the sort would put it the sorted order by the sort column
        // Here, we make sure it's 1-n
        // Grab the TR's
        var trs = document.getElementById(tableId).getElementsByTagName('tbody')[0].getElementsByTagName('tr');
        // Declare a variable to hold a reference to the TD node
        var cell;
        // Loop through the TR node collection
        for(var i = 0, tr; tr = trs[i]; i++) {
                // Grab the first TD within this TR
                cell = tr.getElementsByTagName("td")[0];
                // Delete it's contents
                while(cell.firstChild) cell.removeChild(cell.firstChild);
                // Append a text node
                cell.appendChild(document.createTextNode(i + 1));
        }
}

