queues: Sort shard queue
The shard queue we get from the CI system is a dump of anything that is currency queued or in-flight. This means it's unsorted.
Let's sort it on our side.
- start a worker thread, do all the XHR requests for the timestamps synchronously
- sort the array when we are done
- use Client.postMessage() to notify the main thread to update DOM
- spawn all the remaining XHRs to get the series names
Fixes #35 (closed)
Signed-off-by: Arkadiusz Hiler arkadiusz.hiler@intel.com