#837 - Fix incorrect large value type being set for target field type during sort