extensions/typescript-language-features/src/tsServer/bufferSyncSupport.ts/PendingDiagnostics/getOrderedFileSet
class PendingDiagnostics:	public getOrderedFileSet(): ResourceMap<void> {
		const orderedResources = Array.from(this.entries)
			.sort((a, b) => a.value - b.value)
			.map(entry => entry.resource);

		const map = new ResourceMap<void>(this._normalizePath, this.config);
		for (const resource of orderedResources) {
			map.set(resource, undefined);
		}
		return map;
	}