for (Iterator i = internalValues.iterator(); i.hasNext();) {
String s = (String) i.next();
String t = translateDataName(s);
sorted.put(t, s);
}
ArrayList sortedDisplay = new ArrayList(sorted.keySet());
ArrayList sortedInternal = new ArrayList(sorted.values());
writeEditor(out, fieldName, fieldValue, fieldAttrs, sortedDisplay,
sortedInternal, onCompleteFunction);
}