Access <th> cells directly, instead of searching
Classes now set to keep track of active sorting order