def get_report_content(self, report_path, cross_file=False):
    report_content = []
    report_headers = None
    with open(report_path, 'r') as report_csv:
        reader = csv.DictReader(report_csv)
        for row in reader:
            report_content.append(row)
        report_headers = reader.fieldnames
    row_number_col = ('Row Number' if (not cross_file) else 'Source Row Number')
    if (row_number_col in report_headers):
        report_content = list(sorted(report_content, key=(lambda x: int((x[row_number_col] or 0)))))
    return (report_headers, report_content)
def get_report_content(self, report_path, cross_file=False):
    report_content = []
    report_headers = None
    with open(report_path, 'r') as report_csv:
        reader = csv.DictReader(report_csv)
        for row in reader:
            report_content.append(row)
        report_headers = reader.fieldnames
    row_number_col = ('Row Number' if (not cross_file) else 'Source Row Number')
    if (row_number_col in report_headers):
        report_content = list(sorted(report_content, key=(lambda x: int((x[row_number_col] or 0)))))
    return (report_headers, report_content)