Dynamic decision on column sortability