View Single Post
10/22/18, 05:18 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,971
First I'm not the author. I'm just maintaining this addon to keep it alive.
And secondly I said "Could not fix the sorting" which means I was not able to do this.

The stuff I mentioned about the vanilla game behaviour relates to the repositioning of items in your inventory list, if you change the sort etc. The items won't be sorted by name, but by level.
As the sort function of the game recognizes the levels as a string (and not as a number) it somehow does not sort them like numbers
1
10
11
but just as string, and everytime different after you change something (like described above):
10
1
11
or
1
10
11
or
11
10
1
or
11
1
10

Maybe one can fix this by using tonumber() in the sort function.
Maybe one can add a "tiebraker = name" to the level sort header so the items will be sorted by level + name to keep the order.

But I'm currently not able to do and test this. So if anyone wants to try, go ahead.
  Reply With Quote