// add everything to the treeMap to ensure it is sorted
while (entriesIterator.hasNext()) {
Object o = entriesIterator.next();
if (o instanceof GFFRecord) {
GFFRecord record = (GFFRecord) o;
sorter.put(record.getStart(), record);
}
}
if(sorter.size() > 0) {
if(isTwoStrandFeature) {