Heavy flavor supplies a chance to constrain and improve the hadronization mechanism. We have established a sequential coalescence model with charm conservation and applied it to the charmed hadron production in heavy ion collisions. The charm conservation enhances the earlier hadron production and suppresses the later production. This relative enhancement (suppression) changes significantly the ratios between charmed hadrons in heavy ion collisions.