I would like to create custom order ids with alphanumeric data, e.g. CR4004.

I looked through modules/classes/order.php and I can't seem to find how it's setting the order id.

Any suggestions?