I’m building an LMS where we have different courses. For each course, we have different sections, and within each section, we have different lessons. For each of those elements, the admin can upload documents. So you can have multiple documents for the course itself, for each section and for each lesson. This generates a list of all documents in the course. I would like that list to be grouped and sorted with the hierarchy of the main course documents first, then the sections and lessons grouped together.