def METHOD_NAME(input_paths, output_path):
    reports = []
    for path in input_paths:
        with open(path, encoding="utf-8") as f:
            reports.append(json.load(f))
    tests = []
    for report in reports:
        tests.extend(report["tests"])
    tests = sorted(tests, key=lambda k: k["id"])
    merged_report = {"tests": tests}
    with open(output_path, mode="w", encoding="utf-8") as out:
        out.write(unicodify(json.dumps(merged_report)))