add class to the sorted column in each row