Use FloatArray.sort() instead of Arrays.sort(arr)
Proprietaryjava.util.Arrays.sort(arr: float[]) is JVM-only; arr.sort() is the multiplatform Kotlin extension.
org. openrewrite. kotlin. migrate. UseFloatArraySort$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseFloatArraySort$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.