def METHOD_NAME(name, collection):
    if len(collection) == 0:
        return
    print("")
    print(f"{name}:")
    for commit in sorted(collection, key=lambda x: x['pr_num']):
        title = clean1_expr.sub('', clean2_expr.sub('', commit['title'])).strip()
        pr_num = commit['pr_num']
        print(f'* {title} ([#{pr_num}](https://github.com/qmk/qmk_firmware/pull/{pr_num}))')