It seems that internal members are moved to the last in compiled Kotlin classes when calling `Resolver.getDeclarationsInSourceOrder()` in KSP2. Repro: https://github.com/kuanyingchou/ksp/commit/307aa0e866f5af1b9f6f3e83a8ad23db3e3fc37f