Sort imports lexicographically by default

I wonder if anyone can advice me on how to test it.

I'm guessing I have to build Pants' binary and drop it into a Scala project and generate IDEA file. I see that we cannot just install Pants for any project.

Can I do: ./pants goal idea src/scala/com/pants/example:jvm-run-example-lib to test if 'sort imports' is checked?