Added a Grouping for family.
Fixed bugs in FoldOrder.