diff --git a/src/requestPool/RequestPoolManager.ts b/src/requestPool/RequestPoolManager.ts index 88c38013..cc488de7 100644 --- a/src/requestPool/RequestPoolManager.ts +++ b/src/requestPool/RequestPoolManager.ts @@ -211,7 +211,7 @@ type AdditionalDetails = { const priorities = Object.keys(this.requestPool[type]) .map(Number) .filter((priority) => this.requestPool[type][priority].length) - .sort(); + .sort((a, b) => a - b); return priorities; }