More consistent position sorting after adding new fields