'Prints all objects in a collection sorted by name'

def reporting_print_sorted(self, collection):

    collection = [x for x in collection]
    collection.sort(self.reporting_sorter)
    for x in collection:
        self.logger.flat(x.to_string())
