Added ability to reorder the list of hosts.