adds sorted field var back to model creation