Use MutableList.sort() instead of Collections.sort(list)

Proprietary

java.util.Collections.sort(list) is JVM-only; Kotlin's MutableList.sort() extension is multiplatform and reads as a receiver call.

org.openrewrite.kotlin.migrate.UseListSort$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.migrate.UseListSort$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.