Generator should be able to mitigate the breaking changes of enum order change to avoid custom code such as https://github.com/Azure/azure-sdk-for-net/pull/53793/files#diff-2cb7c6853530fb07e8cf57678ea6093784b9d342b63785ad34a5b478e2962b4b