Dynamically add class to all td elements in sorted column

This will add a the class 'sorted-column' to all td elements in the currently sorted column.