Sort on a different column using `data-sort-col`
mainIf your table uses colspan in the header, you can specify which column should actually be used for sorting when a specific header is clicked by using the data-sort-col attribute on the <th> element. The value should be the index of the target column.
<thead
<tr>
<th"></th>
<th">Category</th>
<th class="show_name">Show</th>
<th colspan="2">Overall</th>
<th colspan="2" data-sort-col="5">On Our Dates</th>
<th data-sort-col="7">First Sold Out</th>
</tr>
</thead>