code: def rejectionOptionsList(self):
          "Return a sorted list with the options defined in bikasetup"
          plone = getSite()
          settings = plone.bika_setup
          # RejectionReasons will return something like:
          # [{'checkbox': u'on', 'textfield-2': u'b', 'textfield-1': u'c', 'textfield-0': u'a'}]
          if len(settings.RejectionReasons) > 0:
              reject_reasons = settings.RejectionReasons[0]
          else:
              return []
          sorted_keys = sorted(reject_reasons.keys())
          if 'checkbox' in sorted_keys:
              sorted_keys.remove('checkbox')
          # Building the list with the values only because the keys are not needed any more
          items = []
          for key in sorted_keys:
              items.append(reject_reasons[key].strip())
          return itemf rejectionOptionsList(self):
          "Return a sorted list with the options defined in bikasetup"
          plone = getSite()
          settings = plone.bika_setup
          # RejectionReasons will return something like:
          # [{'checkbox': u'on', 'textfield-2': u'b', 'textfield-1': u'c', 'textfield-0': u'a'}]
          if len(settings.RejectionReasons) > 0:
              reject_reasons = settings.RejectionReasons[0]
          else:
              return []
          sorted_keys = sorted(reject_reasons.keys())
          if 'checkbox' in sorted_keys:
              sorted_keys.remove('checkbox')
          # Building the list with the values only because the keys are not needed any more
          items = []
          for key in sorted_keys:
              items.append(reject_reasons[key].strip())
          return items
docs: Return a sorted list with the options defined in bikasetup