You need to re-bind the handlers which were a part of your table before. Looks like there is a method called createAutoHiliteTableRows
inside hiliteTables.js
which handles this.
for (i = 0; i < numRows; i++) {
oTBody.appendChild(theSortedRows[i]);
}
createAutoHiliteTableRows(theSortedRows);