Hi,
Look at the All-RefAllHome.m1s script - it's supplied in source form and you can edit it to change the homing order.
Also remember to look thru section15 of the user manual so that your change will not get stepped on the next time you update MSM. In particular, section 15.7.4 gives and example of customizing the RefAllHome actions.
Dave