Bugfix for bugfix for bugfix
Tagging: Cleanup sorting filtered table

Should work much better now, instead of hiding the unfiltered table, we
now detach it completely so that there is no id clash.
Tagging: Fix applying stored table order

When switching back to the unfiltered table, we want to fire the click
event only when the new order is different than the existing one.