lp#1007248: tweak order in which pgt rows are renumbered