docs: @Nonnull
      public static ItemCategory getCategory(TopLevelItemDescriptor descriptor) {
          int order = 0;
          ExtensionList<ItemCategory> categories = ExtensionList.lookup(ItemCategory.class);
          for (ItemCategory category : categories) {
              if (category.getId().equals(descriptor.getCategoryId())) {
                  category.setOrder(++order);
                  return category;
              }
              order++;
          }
          return new UncategorizedCategory();
      }