public static functionpostLoad(EntityStorageInterface $storage, array &$entities) {
parent::postLoad($storage, $entities);
// Sort the queried roles by their weight.// See \Drupal\Core\Config\Entity\ConfigEntityBase::sort().uasort($entities, [
static::class,
'sort',
]);
}