def dir(self, field):
        if field == self.field:
            return self.direction
        return ""
Return the current sort direction for the given field.
dataset/ETHPy150Open mozilla/moztrap/moztrap/view/lists/sort.py/Sort.dir