code: def folderitems(self, full_objects=False, classic=True):
          bsc = getToolByName(self.context, "bika_setup_catalog")
          self.an_cats = bsc(
              portal_type="AnalysisCategory",
              sort_on="sortable_title")
          self.an_cats_order = dict([
              (b.Title, "{:04}".format(a))
              for a, b in enumerate(self.an_cats)])
          items = super(AnalysisServicesView, self).folderitems()
          if self.do_cats:
              self.categories = map(lambda x: x[0],
                                    sorted(self.categories, key=lambda x: x[1]))
          else:
              self.categories.sort()
          return items