Another simple solution could be that the agent doesn't use…
Set collection = db.Search({Form="NotesToNotesConfig" & RunScheduledTX="YES"}, Nothing, 0)
The collection could be set by the content of a viw:
Set collection = view.GetAllEntriesByKey("configsxxxx")…
And if you add a new field "sort-order", this feature could be simply added :-)
What do you think?