src/vs/workbench/contrib/comments/common/commentModel.ts/CommentsModel/updateResourceCommentThreads
class CommentsModel:	private updateResourceCommentThreads() {
		this.resourceCommentThreads = [...this.commentThreadsMap.values()].flat();
		this.resourceCommentThreads.sort((a, b) => {
			return a.resource.toString() > b.resource.toString() ? 1 : -1;
		});
	}