Revert "bug fix - columns unsortable without foreign keys"

This reverts commit 5fbe2776e945c229e9f0d37bd97759cd7cea1030.
This commit should have been done on qa branch and merged
into develop