Changed date sorting to happen before passing to UI, then send only a subset of stream items to the UI.