Sort varnish params before iterating

This is to give consistent results for testing.