A bijection for ordered factorizations