code: def folderitems(self):
          
          items = BaseView.folderitems(self)
  
          # Fill empty positions from the layout with fake rows. The worksheet
          # can be generated by making use of a WorksheetTemplate, so there is
          # the chance that some slots of this worksheet being empty. We need to
          # render a row still, at lest to display the slot number (Pos)
          self.fill_empty_slots(items)
  
          # Sort the items in accordance with the layout
          items = sorted(items, key=itemgetter("pos_sortkey"))
  
          # Fill the slot header cells (first cell of each row). Each slot
          # contains the analyses that belong to the same parent
          # (AnalysisRequest, ReferenceSample), so the information about the
          # parent must be displayed in the first cell of each slot.
          self.fill_slots_headers(items)
  
          return items
docs: Returns an array of dictionaries, each dictionary represents an
          analysis row to be rendered in the list. The array returned is sorted
          in accordance with the layout positions set for the analyses this
          worksheet contains when the analyses were added in the worksheet.
  
          :returns: list of dicts with the items to be rendered in the list