PubnubStreamSorter; shorter time window, simpler algorithm