code: public function getWidgets()
      {
          $widgets = $this->collectorItem->getAll();
          ArrayHelper::multisort($widgets, ['object.priority', 'object.name'], [SORT_ASC, SORT_ASC]);
  
          return $widgets;
      }
docs: Get widgets.
  
  @return [[@doctodo return_type:getWidgets]] [[@doctodo return_description:getWidgets]]