[FIXED] Inventory Display Bug (sort of)
[FIXED] Inventory Display Bug (sort of)
Not really a big deal, but the inventory appears to be sorted in strict alphabetical order resulting in Scrolls of Wisdon being listed out of order. #1 is immediately followed by #10, #11, and #12. Next comes #2 and the expected order resumes. Any way to slightly change the names of the single-digit scrolls (either #01 or #<space>1) to force the alphabetical sorting algorithm to put them in the order that one would expect?
- Mad Merlin
- Site Admin
- Posts: 752
- Joined: Sun Aug 14, 2005 10:41 pm
- Contact:
Mmm... I didn't like either of those renaming options, and didn't want to bother natsort()ing them after pulling out the already nicely sorted database result.
However, then I found a better solution (I changed the #s for 10-12 to #s which "fixes" the sort order, but is visually no different). Everyone's a winner!
However, then I found a better solution (I changed the #s for 10-12 to #s which "fixes" the sort order, but is visually no different). Everyone's a winner!