it looks like the import sorting is done as below,...
# ktfmt
c
it looks like the import sorting is done as below, though not obvious why that would be different on Win/Mac. Link.
Copy code
fun canonicalText(importDirective: KtImportDirective) =
        importDirective.importedFqName?.asString() +
            " " +
            importDirective.alias?.text?.replace("`", "") +
            " " +
            if (importDirective.isAllUnder) "*" else ""

    val sortedImports = importList.imports.sortedBy(::canonicalText).distinctBy(::canonicalText)