The grouping widget allows you to set it to group by letter, word, separator, date and to disable grouping of a column - see the "Header Class Names" section for a full list class names that can be used.
In your case, use group-word
class name on the column you want to group by words, and group-false
to disable grouping (demo)
HTML
<table class="tablesorter">
<thead>
<tr>
<th class="group-word">AlphaNumeric</th>
<th class="group-false">Numeric</th>
<th class="group-false">Animals</th>
<th class="group-false">Sites</th>
</tr>
</thead>
<tbody>
...
</tbody>
</table>
Script
$('table').tablesorter({
theme: 'blue',
sortList: [ [0, 0] ],
widgets: ['zebra', 'group']
});
CSS (collapsable arrow)
/* collapsed arrow */
tr.group-header td i {
display: inline-block;
width: 0;
height: 0;
border-top: 4px solid transparent;
border-bottom: 4px solid #888;
border-right: 4px solid #888;
border-left: 4px solid transparent;
margin-right: 7px;
user-select: none;
-moz-user-select: none;
}
tr.group-header.collapsed td i {
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 5px solid #888;
border-right: 0;
margin-right: 10px;
}