made cursor a pointer on table headings (for sorttable)