Fixes #5552/BZ1093751 - Prevent sorting on columns that aren't sortable.