Patched duplication of tbody contents

Using jQuery 1.10.2, using append in this way actually duplicates the tbody and then adds the sorted tr's.  If you keep sorting it keeps duplicating the tbody over and over.  

My patch first removes the tbody, creates a new one, and then appends the new tr's.