There is a problem with default table setup if you have presentation and/or column control. Problem is css that is moving column name into next row. Example screens in attachment.
ok1.PNG - if you are ordering by last column which is under presentation icon, it all looks ok
notok1.PNG - same setup, not ordered by last column,-> name of last column moved to next row
okmoved2.PNG - schrinked last column so it is not crossed with presentation icon