Why Kotlin sealed class object’s initialization order changes? Let’s consider sealed class that’s an enum replacement: