if (complement != null && !complement.isEmpty()) {
List<Sample> sortedList = new ArrayList<Sample>(complement);
List<String> savedSamples = new ArrayList<String>();
List<String> taxonErrorSamples = new ArrayList<String>();
Collections.sort(sortedList, new AliasComparator(Sample.class));
for (Sample sample : sortedList) {
if ((Boolean) session.getServletContext().getAttribute("taxonLookupEnabled")) {
log.info("Checking taxon: " + sample.getScientificName());
String taxon = TaxonomyUtils.checkScientificNameAtNCBI(sample.getScientificName());