@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (!(obj instanceof BatchSegregatingCriteria)) {
			return false;
		}
		BatchSegregatingCriteria other = (BatchSegregatingCriteria) obj;
		if (fileExt == null) {
			if (other.fileExt != null) {
				return false;
			}
		}
		else if (!fileExt.equals(other.fileExt)) {
			return false;
		}
		if (loader == null) {
			if (other.loader != null) {
				return false;
			}
		}
		else if (!loader.equals(other.loader)) {
			return false;
		}
		if (groupLoadSpecs == null) {
			if (other.groupLoadSpecs != null) {
				return false;
			}
		}
		else if (!groupLoadSpecs.equals(other.groupLoadSpecs)) {
			return false;
		}
		return true;
	}
Return the {@link BatchGroupLoadSpec}s as a sorted list.

@return sorted list of {@link BatchGroupLoadSpec}s.
Ghidra/Features/Base/src/main/java/ghidra/plugins/importer/batch/BatchSegregatingCriteria.java