Merge (interleave) a bunch of ordered streams and keep the order.
var stream1 = new Stream();
var stream2 = new Stream();
var mergedSorted = mergeStreamsSort([stream1, stream2], function(a, b) { return a.id < b.id });
This is the merge function from event-stream separated into a new module and given an add
method so you can dynamically add more sources to the stream.
MIT