table.js: implement remove(); prepare the sort