for (Iterator i = process().steps().iterator(); i.hasNext();) {
Activity act = (Activity)i.next();
actList.add(new ActivityWrapper(wfs, act));
}
activitySorter.sort (actList);
activities = new ListDataModel (actList);
} else {
logger.debug ("Re-using activities");
if (activitySorter.isModified ()) {
activitySorter.sort ((List)activities.getWrappedData());
}