Fixed crashing if sorted column is hidden via column chooser
Merge pull request #663 from kirilvit/upstream1

Fixed crashing if sorted column is hidden via column chooser