Blocks and items related to colors are not sorted in the correct way. Instead of being sorted by color like in the Bedrock, those blocks are sorted in a very weird way.
Where we can see this sorting:
Creative Inventory
Tags
Internal Code
Here is the current color sorting:
White
Orange
Magenta
Light Blue
Yellow
Lime
Pink
Gray
Light Gray
Cyan
Purple
Blue
Brown
Green
Red
Black
Here's how the color sorting should be (Bedrock Edition):
White
Light Gray
Gray
Black
Brown
Red
Orange
Yellow
Lime
Green
Cyan
Light Blue
Blue
Purple
Magenta
Pink
Comments 2
From now on, we only accept reports about "incorrect" creative inventory sort ordering if the items/blocks were added in the Nether Update (1.16) or later. All other issues will be closed as a duplicate of MC-1797, which has been marked as Invalid due to the fact it is seen as a feature request.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord
This is because the data values of dyed items was ordered in that way before 1.13. This won't be fixed until a full inventory overhaul is done. (MC-1797)