fixes child groups order