working with sortable table