code: public List<VulnerableSoftware> getVulnerableSoftware(boolean sorted) {
          final List<VulnerableSoftware> sortedVulnerableSoftware = new ArrayList<>(this.vulnerableSoftware);
          if (sorted) {
              Collections.sort(sortedVulnerableSoftware);
          }
          return sortedVulnerableSoftware;
      }
docs: Returns a sorted list of vulnerable software. This is primarily used for
  display within reports.
  
  @param sorted whether or not the list should be sorted
  @return the list of vulnerable software