@Override
		public int compare(Function o1, Function o2) {
			String o1Path = o1.getProgram().getDomainFile().getPathname();
			String o2Path = o2.getProgram().getDomainFile().getPathname();

			String o1Name = o1.getName();
			String o2Name = o2.getName();

			if (o1Path.equals(o2Path)) {
				if (o1Name.equals(o2Name)) {
					return o1.getEntryPoint().compareTo(o2.getEntryPoint());
				}
				return o1Name.compareTo(o2Name);
			}

			return o1Path.compareTo(o2Path);
		}
Orders functions by program path and then name and then address
Ghidra/Features/Base/src/main/java/ghidra/features/base/codecompare/model/AbstractFunctionComparisonModel.java