Example case: https://github.com/madpilot/css-modules-bug-158
There seems to be a problem with selector ordering when there is multiple levels of composition.
If you look at output.css you can see the .include-2__header___2LJaB is after .include-1__header___H-qGE
It should be the other way around.
to duplicate:
Clone that repo
npm install
npm run build
Look at output.css