compareChunkGroupsByIndex = (a, b) =>
	/** @type {number} */ (a.index) < /** @type {number} */ (b.index) ? -1 : 1
@param {ChunkGroup} a first chunk group
@param {ChunkGroup} b second chunk group
@returns {-1 | 0 | 1} compare result