docs: def pprint_int_dict(int_dict, indent=4, descending=False):
      """Prints the given dict with int values in a nice way.
  
      Parameters
      ----------
      int_dict : list
          A dict object mapping each key to an int value.
      """
      sorted_tup = sorted(int_dict.items(), key=lambda x: x[1])
      if descending:
          sorted_tup.reverse()
      print('{')
      for tup in sorted_tup:
          print('{}{}: {}'.format(' '*indent, tup[0], tup[1]))
      print('}')