2022 REGRESSION: duplicate hierarchy loses node order

worked in 2020
problem in mudbun and U-GUI where duplicating breaks everything

IN-63112