If I read this right, the number you refer to doesn't sound like something you want to store permanently, as it'll change when new orders come in and you run the next batch.
If that's the case, I'd just create a script that gathered the current list, then have the script loop through them and place your number in a numeric field of your choice based on the number of times through the loop.