These three assignments seem out of place here, distracting from the purpose of the loop -- to find orig_col.
They can be modified to use orig_col and moved just before "orderCol.expression = tve;".