Fix FOB-118: Sort sub-groups.