reordering after list merge working