src/vs/editor/contrib/codeAction/browser/codeAction.ts/ManagedCodeActionSet/codeActionsPreferredComparator
class ManagedCodeActionSet:	private static codeActionsPreferredComparator(a: languages.CodeAction, b: languages.CodeAction): number {
		if (a.isPreferred && !b.isPreferred) {
			return -1;
		} else if (!a.isPreferred && b.isPreferred) {
			return 1;
		} else {
			return 0;
		}
	}