• The Sort operator cannot output any rows until all input rows have been seen.

  • Sort is an Iterator just like the other operators.

  • It has a next() member function which returns a Row.

  • The accumulation of rows is done by Sort::open.