def METHOD_NAME(self):
    if self._order_by:
        return [
            OrderBy(METHOD_NAME, is_ascending=(order == ASCENDING))
            for sort_column_id, order in self._order_by
            for METHOD_NAME in self.get_db_column_ids(sort_column_id)
        ]