Added events for sort clicks on table columns