private onResolve(context: Context, reflection: ContainerReflection) { reflection.kindString = CubejsGroupPlugin.getKindSingular(reflection.kind); if (reflection.children && reflection.children.length > 0) { this.populateOrder(reflection.children); reflection.children.sort(CubejsGroupPlugin.sortCallback); reflection.groups = CubejsGroupPlugin.getReflectionGroups(reflection.children); } }