def resolve(self, parent):
    what = parent._ensure_expr(self.what)
    return SortKey(what, ascending=self.ascending).to_expr()
def resolve(self, parent):
    what = parent._ensure_expr(self.what)
    return SortKey(what, ascending=self.ascending).to_expr()