Sort the import in the following order:

java.* and javax.*
scala.*
Third-party libraries (org.*, com.*, etc)
Project classes (org.apache.spark.*)