Fix crash from sorting after adding a column (LT-14879)

Change-Id: I36746e4e42e9a809ca87501897077a9496a2947e