Sort collector parameters by name.

Otherwise you can end up in a situation where you continually re-write the collector config
as hash ordering is random. This makes the generated files predictable and idempotent