Q:

IntelliJ not respecting import ordering on 'Optimizing imports'

I have an import ordering setup in IntelliJ:

But when I do Ctrl + alt + O to optimize my imports, it shoves the google imports on top followed by the company imports and does not insert a blank line either.  Anything I'm missing here? 

A:

Notice how the import packages are displayed:
import com.company.*.*  and import com.google.*.* 
vs
import java.*  and import javax.* 
When you specify the package name do not add .*  at the end (i.e you have written com.company.*,  but you should write com.company instead).