fixed date sorting

date sorting wasn’t correct as the variable used was undefined. issue
now resolved. also added a class to prevent hover cursor on non
sortable column…