PR: https://github.com/xwiki/xwiki-commons/pull/1908
It must be merged only after the 3 sweeps fixing the existing violations, since the Checkstyle configuration is shared by the 3 repositories:
Waiting for agreement on https://forum.xwiki.org/t/fail-the-build-on-wrong-import-order/18733 before applying.