*/
public static void initializeForSorting( SyndFeed feed )throws FeedException {
List syndEntries = feed.getEntries();
// TODO: the null parameter below will break delegating parsers and generators
ModuleGenerators g =
new ModuleGenerators( feed.getFeedType() + ITEM_MODULE_GENERATORS_POSFIX_KEY,
null);
SyndFeedOutput o = new SyndFeedOutput();
Document d = o.outputJDom( feed );
SyndFeed feed2 = new SyndFeedInput().build( d );
feed.copyFrom( feed2 );