The ID definitely does not work for this (that is what it originally was). The issue is that the order number sequence is related to the completedAt of the order, not the original insertion time. See https://github.com/Sylius/Sylius/pull/631