Disallows sorting when the setting specifies so.