Remove duplicates from output, sort by security severity and by package name