def METHOD_NAME(self, results):
    validation_map = {}
    for result in results:
        for task in result["tasks"]:
            task_type = self.task_type_map[task["task_type_id"]]
            validation_map[task_type["name"]] = {
                "name": task_type["name"],
                "priority": task_type["priority"],
            }
    validation_columns = [
        validation["name"]
        for validation in sorted(
            validation_map.values(),
            key=lambda validation: (
                validation["priority"],
                validation["name"],
            ),
        )
    ]
    return validation_columns