assign order number to each order during creation