Sort sort = new Sort();
LinkedList<Variable> listOfVars = new LinkedList<Variable>();
listOfVars.add(new Variable(((ASTVar)child0).getName()));
ComparatorVariables comparator = new ComparatorVariables(listOfVars);
sort.setComparator(comparator);
Group group = new Group(comparator);
sort.addSucceedingOperator(group);
group.addSucceedingOperator(federatedQuery);
sso.addSucceedingOperator(sort);
} else {
sso.addSucceedingOperator(federatedQuery);
}
Join join = new Join();