I have a nested repeating group and am struggling with how to turn it into a single expression (to feed an eventual JSON output). The nested RG is two different data types, each with their own unique sort.
DataType: Chapter
* Chapter Sort
DataType: Sections (within a chapter)
* Section Sort
I’ve tried playing with groupings within an expression, but haven’t had much luck when I try to enforce BOTH datatypes sorting, which is critical. I can accomplish it with just the Chapter Sort, but as soon as I get to also include section sort (within each chapter) my data structure falls apart and I’m stumped.
In my head, the expression in its simplest terms is something like All Parent Chapters (chapter sections: sorted by section sort): sorted by Chapter Sort
Is this even possible?
Thanks!