How to customize Android Studio's import ordering in Kotlin to ignore whether they are "static" imports?Answer #1 100 %
This seems to be a misunderstanding. In fact,
kotlin.concurrent.thread is a function. Therefore, it should be grouped together with the other classes.
UPDATE: I do see that the latest version of IntelliJ 2019.1 (and Android Studio) might not be able to conform to the Android Kotlin style guide. If you have these import statements, then IntelliJ does not sort strictly by ASCII:
import org.apache.commons.lang3.StringUtils import java.util.Base64 import kotlin.concurrent.thread
Instead, IntelliJ orders them as:
I do not see a way to configure IntelliJ or Android Studio to sort them this way:
import java.util.Base64 import kotlin.concurrent.thread import org.apache.commons.lang3.StringUtils
Perhaps you should submit some feedback to IntelliJ or the authors of the Android Kotlin style guide.