add callback to sortable table