private List<Function> getTargetFunctions() {
		List<Function> targets = new ArrayList<>();

		Function source = getActiveFunction(LEFT);
		if (source != null) {
			targets.addAll(sourceToTargetsMap.get(source));
		}
		Collections.sort(targets, FUNCTION_COMPARATOR);
		return targets;
	}
Removes all functions in the model that come from the given
program

@param program the program to remove functions from
Ghidra/Features/Base/src/main/java/ghidra/features/base/codecompare/model/MatchedFunctionComparisonModel.java