docs: def collect_blocks(self):
          """
          Collect the blocks in a list
          """
          if self.mode == 'spark':
              return self.values.tordd().sortByKey().values().collect()
  
          if self.mode == 'local':
              return self.values.values.flatten().tolist()