Sort lists before checking for equality in deployment tests

This should make the deployment tests pass a little more consistently,
especially with the complex vlan driver.