The requests are currently sorted based on priority.
The sorting within requests with the same priority is broken due to the fact that the requests are stored in a map which gives back requests in a random order. This means that in the default setup requests will not be consistently sorted.
If requests with the same priority are sorted we should be able to rely on the same result always. Currently we cannot.