Part List Exclude should have a value of True or False only to allow or prevent it being passed to the BOM. This works in conjunction with the Forward to PCB flag to allow the correct combinations of parts in BOM but not on PCB, Parts in PCB but not in the BOM etc.
It isn't possible to sort the BOM as you require.
if you want to generate a lint of dnm components
you can try this because part Lister exclude property when added to a symbol it will create bom with the part excluded
but if you use variant manager you can select the part that is to be made dnm if the part is selected it will be highlighted in variant manager you can group this to a category DNM and export to report
DNM.odt 26.8 KB