Filter PDF report

Hello

Is there any way to group results in pdf report not by hosts but by CVEs? For example:

CVEs. Hosts
cve 111 1.1.1.1,1.1.1.2
cve 333. 1.1.1.1,1.1.1.5

and so on