I had once looked up a similar formatting need. Explored "rearrange", "templates(command+shift+M)" etc, but this did not help. There is an "Arrangement" option under Editor->Code Style->Java->Arrangement
tab. It looks like a rule editor, but that also did not help. To my understanding it is for ordering(sorting) members with in a class rather than ordering key words. It would have been really robust to have this feature under Reformat/Rearrange.
Anyway, only way I could come up with was to use Find|Replace with "regular expressions"
So, in the example you have given, we can use find/replace(⌘R in OS X) with regular expression as:
Find : private final static|final private static|static final private
Replace: private static final
Not very smart, but useful.
We can use combination of private/public if this needs to be applied to both private and public. Also, it can be applied at package/path level. Example screenshot below
![Search Replace panel](https://cdn.statically.io/img/i.sstatic.net/7Ad78.png)
Find in Files...
is the other option. But, yes - this would be a nice feature.