Page 1 of 1

Sort rich text groups by icon

Posted: Tue Nov 05, 2024 2:51 pm
by Hares
TL;DR
The game should respect icon & style in rich text objects.
What?
Unordered lists of rich text objects should be sorted by respecting rich text meta:
  • Non-rich characters are sorted alphabetically
  • Non-displayable rich text characters should be ignored
  • Icons should be ordered either all before or all after text characters, icons are sorted as on UI.
Why?
Current implementation is sometimes annoying.
Lists of train stops/groups/trains, list of logistic requests, space platforms -- in all these places I want to group related entries together (i.e., machines grouped with machines, liquids with liquids, materials with materials, Nauvis before Fulgora, etc.).
Sorting those by icon and not icon name would solve the problem.

Belts, pt.1
Belts, pt.1
11-05-2024, 18-05-41.png (27.08 KiB) Viewed 67 times
Belts, after train stuff (because TRAnsport-belt)
Belts, after train stuff (because TRAnsport-belt)
11-05-2024, 18-05-44.png (23.99 KiB) Viewed 67 times
Same list, filtered by "belt"
Same list, filtered by "belt"
11-05-2024, 18-05-49.png (32.41 KiB) Viewed 67 times