def METHOD_NAME(self):
    class Table(tables.Table):
        name = tables.Column(accessor="name", order_by=("last_name", "first_name"))
        friends = tables.ManyToManyColumn(
            transform=lambda o: o.name, filter=lambda o: o.order_by("-last_name")
        )
    table = Table(Person.objects.all().order_by("last_name"))
    for row in table.rows:
        friends = row.get_cell("friends")
        if friends is table.default:
            self.assertEqual(row.get_cell("name"), self.remi.name)
            continue
        # Verify the list is sorted descending
        friends = list(map(lambda o: o.split(" "), friends.split(", ")))
        self.assertEqual(friends, sorted(friends, key=lambda item: item[1], reverse=True))