(self)
return order_by.opposite if self.order_by_alias.is_descending else order_by
Return an `.OrderByTuple` of appropriately prefixed data source keys used to sort this column.

        See `.order_by_alias` for details.
Return an `.OrderByTuple` of appropriately prefixed data source keys used to sort this column.
Return an . OrderByTuple of appropriately prefixed data source keys used to sort this column .
def order_by(self):
        """
        Return an `.OrderByTuple` of appropriately prefixed data source keys used to sort this column.

        See `.order_by_alias` for details.
        """
        if self.column.order_by is not None:
            order_by = self.column.order_by
        else:
            # default to using column accessor as data source sort key
            order_by = OrderByTuple((self.accessor,))
        return order_by.opposite if self.order_by_alias.is_descending else order_by
def order_by ( self ) : if self . column . order_by is not None : order_by = self . column . order_by else : # default to using column accessor as data source sort key order_by = OrderByTuple ( ( self . accessor , ) ) return order_by . opposite if self . order_by_alias . is_descending else order_by