Also re-arrange imports based on the Spark coding style: https://cwiki.apache.org/confluence/display/SPARK/Spark+Code+Style+Guide

In addition, sort imports in the following order:
java.* and javax.*
scala.*
Third-party libraries (org.*, com.*, etc)
Project classes (org.apache.spark.*)