Sorting and reinserting elements removes bound functions
<p>I need to sort some rows after they've been inserted.  What I'm doing now is:</p>

<pre><code>var $r = $tbody.find('tr').sort(function(a,b) { 
  return compare(taxstatusOf(a), taxstatusOf(b));
});
$tbody.empty().append($r);
</code></pre>

<p>This works, <em>except</em> that functions that were bound to elements contained in the rows are no longer bound (or no longer fire, which amounts to the same thing).</p>

<p>So, is there a right way to sort rows that doing fail like this?  Do I have to re-bind?</p>
