docs: public List<ComponentDto> selectAncestors(DbSession dbSession, ComponentDto component) {
      if (component.isRoot()) {
        return Collections.emptyList();
      }
      List<String> ancestorUuids = component.getUuidPathAsList();
      List<ComponentDto> ancestors = selectByUuids(dbSession, ancestorUuids);
      return Ordering.explicit(ancestorUuids).onResultOf(ComponentDto::uuid).immutableSortedCopy(ancestors);
    }