fix sortable bug in table