docs: def sort_dictionary_list(dict_list, sort_key):
      """
      sorts a list of dictionaries based on the value of the sort_key
  
      dict_list - a list of dictionaries
      sort_key - a string that  identifies the key to sort the dictionaries with.
  
      Test sorting a list of dictionaries:
          >>> sort_dictionary_list([{'b' : 1, 'value' : 2}, {'c' : 2, 'value' : 3}, {'a' : 3, 'value' : 1}], 'value')
          [{'a': 3, 'value': 1}, {'b': 1, 'value': 2}, {'c': 2, 'value': 3}]
      """
      if not dict_list or len(dict_list) == 0:
          return dict_list
      dict_list.sort(key=itemgetter(sort_key))
      return dict_list