ComfyUI > Nodes > ComfyUI Level Pixel > Resorting Tags [LP]

ComfyUI Node: Resorting Tags [LP]

Class Name

ResortingTags|LP

Category
LevelPixel/Tags
Author
LevelPixel (Account age: 647days)
Extension
ComfyUI Level Pixel
Latest Updated
2026-02-24
Github Stars
0.03K

How to Install ComfyUI Level Pixel

Install this extension via the ComfyUI Manager by searching for ComfyUI Level Pixel
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Level Pixel in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Resorting Tags [LP] Description

Organizes and prioritizes tags by importance, creating a structured and sorted tag list.

Resorting Tags [LP]| Resorting Tags [LP]:

The ResortingTags| Resorting Tags [LP] node is designed to help you organize and prioritize tags based on their importance and relevance. This node is particularly useful when you have a collection of tags that need to be sorted according to different levels of priority. By categorizing tags into priority, inclusive, and auxiliary groups, the node assigns scores to each tag, allowing you to generate a sorted list of tags that reflects their significance. This process not only helps in maintaining a structured tag system but also enhances the clarity and effectiveness of tag usage in your projects. The node's primary function is to streamline the management of tags, making it easier for you to focus on the most critical elements while still considering additional relevant tags.

Resorting Tags [LP]| Resorting Tags [LP] Input Parameters:

priority_texts

priority_texts is a list of tags that you consider most important. These tags are given the highest base score and additional bonuses, ensuring they appear at the top of the sorted list. This parameter allows you to emphasize tags that are crucial to your project, ensuring they receive the attention they deserve. There are no specific minimum or maximum values, but it is essential to provide a list that accurately reflects your priorities.

inclusive_texts

inclusive_texts is a list of tags that are important but not as critical as those in the priority list. These tags receive a moderate base score and bonuses, allowing them to be included in the sorted list without overshadowing the priority tags. This parameter helps you maintain a balanced tag system by including tags that add value to your project. Like priority_texts, there are no strict limits on the number of tags you can include.

auxiliary_texts

auxiliary_texts is a list of tags that are considered supplementary. These tags receive the lowest base score and minimal bonuses, ensuring they appear lower in the sorted list. This parameter is useful for including tags that provide additional context or information without detracting from the more important tags. There are no specific restrictions on the number of auxiliary tags, but they should be used to complement the primary and inclusive tags.

Resorting Tags [LP]| Resorting Tags [LP] Output Parameters:

tags TEXT

tags TEXT is a string output that contains the sorted list of tags based on their scores. This output provides a clear and organized view of your tags, arranged from the most to the least important. It helps you quickly identify and utilize the most relevant tags for your project, ensuring that your tagging system is both efficient and effective.

tags_with_rating TEXT

tags_with_rating TEXT is a string output that includes the sorted tags along with their respective scores. This output offers a detailed view of how each tag was rated, providing insights into the scoring process and helping you understand the relative importance of each tag. This information can be valuable for refining your tag management strategy and ensuring that your tags are appropriately prioritized.

Resorting Tags [LP]| Resorting Tags [LP] Usage Tips:

  • Use priority_texts to highlight the most critical tags for your project, ensuring they receive the highest scores and appear prominently in the sorted list.
  • Include relevant tags in inclusive_texts to maintain a balanced tag system that reflects the broader context of your project without overshadowing the priority tags.
  • Utilize auxiliary_texts to add supplementary tags that provide additional context or information, enhancing the overall comprehensiveness of your tag system.

Resorting Tags [LP]| Resorting Tags [LP] Common Errors and Solutions:

Missing Input Lists

  • Explanation: This error occurs when one or more of the required input lists (priority_texts, inclusive_texts, or auxiliary_texts) are not provided.
  • Solution: Ensure that all three input lists are supplied, even if some of them are empty, to avoid this error and allow the node to function correctly.

Incorrect Data Type

  • Explanation: This error arises when the input parameters are not provided as lists, which is the expected data type.
  • Solution: Verify that all input parameters are formatted as lists, even if they contain only a single tag, to ensure compatibility with the node's processing requirements.

Resorting Tags [LP] Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Level Pixel
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Resorting Tags [LP]