Sort rows by class using tablesorter

Sort rows by class using tablesorter

Hello, 
I want to sort the table rows buy the tr tag class. I want to sort a table with subtotals. The subtotals have a group of rows assigned. I want to sort each gorup independently.

I am using the mottie tablesorter.
Thanks.