With `2.0.20-1.0.25`. Given a class like this: ```kotlin class MyClass(private val c: Int) { fun a(){} fun b(){} fun c(){} } ``` `KSClassDeclaration.getAllFunctions()` will return `c, a, b`, instead of `a, b, c`. Removing or renaming the `c` val makes the order correct again. This only happens with `ksp.useKSP2=true`. ### Repro steps ``` git clone https://github.com/BoD/repro-ksp-getAllFunctions-order cd repro-ksp-getAllFunctions-order ./gradlew build ``` **Expected:** `w: [ksp] all functions:[a, b, c, equals, hashCode, toString, <init>]` **Actual:** `w: [ksp] all functions:[c, a, b, equals, hashCode, toString, <init>]`