use flow instead of stream for sort-timeline