[SPARK-3781] code Style format

Spark code base convention is to import `scala` first. I have actually never seen a project that uses lexicographical sort order globally, but overall groups imports logically and then sorts. In any event, it's better to follow standard convention and put `scala` first.