Fixes issue with table inside table

fixes #44

Now the rows to sort are searched only directly in the sortable table.