int (AntReference reference, AntReference reference1) { if (reference.equals(reference1)) return 0; if (reference == BUNDLED_ANT) return -1; if (reference1 == BUNDLED_ANT) return 1; return reference.getName().compareToIgnoreCase(reference1.getName()); }