Made sort_datum_stream_t comparison function take an env parameter.
Removed RSI comment about removing non-temporary "env;" variables, they have been removed.