added intermediate reordering-table