Don't rely on functools.total_ordering