This is because our priority queue implementation does not have stable sort property, so queueing SYN_STREAM, DATA in this order does not necessarily mean SYN_STREAM will be sent first.
See README.rst