put sort-key listeners on the <th> elements