final IterablePosting postings = dfInput2.next();
List<Posting> postingList = new ArrayList<Posting>();
while(postings.next() != IterablePosting.EOL)
{
final Posting p = postings.asWritablePosting();
p.setId(termcodeHashmap.get(postings.getId()));
postingList.add(p);
}
Collections.sort(postingList, new PostingIdComparator());
pointerDF = dfOutput.writePostings(postingList.iterator());