Hello Bjorn,
In IC2022, it has a structured BOM Option fixes the problem by being able to turn off lower layers for the General Assembly but leaving the lower items as parts for the individual drawings.
You can't sort the BOM afterwards so make sure its in the correct order before creating the BOM.
Here is my original issue with the new structured BOM in IC2022.