How to pass node parameters(agents) in different order

Hi,

We have 5 windows server with tomcat application running. and in Jenkins, we want to remotely stop the tomcat in one order and start the tomcat in different order.

So, we have created 2 different jobs for stop and start respectively and we used Master slave method here.

When i build with parameter, The node parameters are passed in alphabetical order. But i want to pass in different combinations based on the requirement.

Please assist how to pass Nodes with our choice. Thanks