The trouble right now is, when the script hasn't been run for a while, there are hundreds of records to modify at any given moment and it takes a long time. The customer has asked if we can check if a record needs to be modified before decommitting and recommitting it in the correct order. The only way I can think of to accomplish that is to know if the order will be changed by the script.