Configlet execution order

Configlet execution order

Is there a way to have the configlet sequentially to a list of devices?  My specific goal is to have a configlet to shut down a stack of switches in a particular order.  If the script hits the switch at the top of the stack before all of the others get the command they will not get the command as the switch they are daisy chained to will already have severed the network connection.