distribute order automatically