reorder when transition is called