Make context menu entries optional based on table contents. re #9796
Merge branch 'feature/9796_hide_sort_for_table_workspace' into develop