Inventory sort order is inconsistent
It's really unhelpful that inventory items with the same base name randomize their order, and keep re-randomizing any time the inventory is altered in any way, even while the inventory window is still open. This affects both personal and container inventory (and NPC, i.e. companion, inventory for that matter).
Example: I have three filled Grand Soul Gems, and ten empty ones. I open my inventory to pick one, and the order is (for example): Ascended Sleeper, stack of empty ones, Skeleton Champion, Hunger (with no rationale for this order). I move the Hunger one into a container, or use it. The first one listed in inventory is no longer Ascended Sleeper now, but maybe Skeleton Champion, or the stack of empties. Not a big deal until you consider a case with 37 Grand Soul Gems. It can become a really tedious hassle to do something as simple as sorting all the Golden Saint and Ascended Sleeper ones (i.e., those that are good for Constant Effect enchantments) into a specific chest. You have to start at the top of the list of gems all over again every single time you move one from inventory to the container.
Example: I have a plain Glass Longsword, another I've enchanted with 400 charges and paralyze on touch when strikes, and another with 200 charges and absorb health on target when used, and I didn't give the enchanted ones special names. They appear randomly in the inventory each time I look.
The ideal solution is probably something like the following:
- Alphabetical by name
- If same name, and some other name or ID (e.g., of a trapped soul) also applies, then alpha order by that secondary name/ID.
- Enchanted above non-enchanted if multiple items of the same name (and alpha order of enchantment name if 2+ items of same name and different enchantments). Simplest approach is probably to concatenate the enchantment details into a single string, e.g. "Fire Damage when strikes on target" above "Fire Damage when strikes on touch" above "Fire Damage when used on target"; could even appended magnitude, duration, and area as additional substrings.
- If the item type has condition, then for two items of the same name, higher condition above lower (but still enchanted above non-enchanted)
- If the item has charges, then for two enchanted items of the same name and enchantment and condition, then higher charge above lower. CE above expendable charges.
I'm on MacOS, so I'm listing it as that, but I doubt the behavior is Mac-specific. I'm not sure what the difference is between Category: GUI and Category: MyGUI, so I picked the shorter one.
(RM-4112 from redmine: created on 2017-09-18 by Dark Locq, , closed on 2017-09-21 by Andrei Kortunov, duplicates #4080 (closed))