Ensure policy JSON is sorted to prevent re-writing the config on every run