code: def sorted_by_field(issues, field="closed_at", reverse=False):
      """Return a list of issues sorted by closing date date."""
      return sorted(issues, key=lambda i: i[field], reverse=reverse)
  
imports: import os
  import json
  import urllib
  import re
  import yaml
  from urllib.request import urlopen
  from datetime import datetime, timedelta
  import requests
label_desc: Use image node_id 16 for calling a global function with example usage: sorted_by_field(issues, field, reverse) and returns: sorted