@Override
		public int compare(DBRecord r1, DBRecord r2) {
			int index1 = r1.getIntValue(ParentChildDBAdapter.ORDER_COL);
			int index2 = r2.getIntValue(ParentChildDBAdapter.ORDER_COL);
			if (index1 < index2) {
				return -1;
			}
			if (index1 > index2) {
				return 1;
			}
			return 0;
		}
Use the given list to get the child order and update each record.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ModuleDB.java