src/vs/editor/contrib/suggest/browser/suggest.ts/getSuggestionComparator
export function getSuggestionComparator(snippetConfig: SnippetSortOrder): (a: CompletionItem, b: CompletionItem) => number {
	return _snippetComparators.get(snippetConfig)!;
}