Sort plugins to load in test environment class before overriding config to keep screenshot output predictable.