PubnubClient: implement stream sorter, time window: 500ms