When I run this script, the items are associated to the category correctly but in a different order each time I run the script. I can successfully order the items in the category by hand using the Clover web app so I suspect the functionality is there to order them. I just can't figure out from the docs how to do this. I assumed that ordering the association array would do the trick but no joy.
I used this code as a reference. Thanks for the help!!