Quantcast
Download
(8 Kb)
Download
Updated: 04/20/19 07:08 AM
Pictures
File Info
Compatibility:
Elsweyr (5.0)
Wrathstone (4.3)
Updated:04/20/19 07:08 AM
Created:08/04/14 01:01 PM
Monthly downloads:1,999
Total downloads:25,868
Favorites:100
MD5:
Categories:Bags, Bank, Inventory, Auction House & Vendors
4.3
Quality Sort  Updated this week!  Popular! (More than 5000 hits)
Version: 2.0.1
by: silvereyes, Randactyl
Now you can sort your inventories by item quality!

Quality Sort adds a sorting option to the right of "Name" in your backpack, craft bag, bank, guild bank, quick slot, transmute, crafting station, send mail and trade screens. Use it just like the other sort headers.

Options/Settings

In the options menu, you can choose to automatically sort by quality or not.

You can also customize the secondary, tertiary, ... etc. sort priorities. Currently, the following options are available for each priority number:
  • (None), for disabling a comparison
  • Equipped, for transmute and improvement stations
  • Item Set
  • Equipment Slot (e.g. chest, shoulders, etc.)
  • Item Name
  • Level / Champion Points
  • Trait
  • Enchantment
  • Style
  • Unique Item Identifier, i.e. the number at the start of the raw item link text
  • Writ Voucher Count
  • Master Writ Requirements

Dependencies

You must install the following libraries separately from this addon in order for it to work. I highly recommend using the Minion addon manager to simplify this process.

Compatibility
Version 2.0.1
- Remove bundled libraries
- You now need to install the following libraries independently of this addon
+ LibAddonMenu-2.0
+ LibSavedVars
+ LibStub

Version 2.0.0
- Update 22 Elsweyr compatibility. This version is compatible with both live (Wrathstone) and PTS.
- Transmute station support
- Added settings menu
- Automatic quality sort by default (optional)
- You can now customize sort order
- Added sort comparisons for the following (enabled by default):
+ Equipped (improvement and transmute)
+ Item Set
+ Equipment Slot (e.g. head, chest, etc.)

1.6.1.0
- Update 21 Wrathstone compatibility. This version is compatible with both PTS (Wrathstone) and live (Murkmire)

1.6.0.1
- Update 20 Murkmire compatibility

1.6.0.0
- Update 18 Summerset compatibility; this version is compatible with both PTS and live
- Add support for housing storage containers

1.5.1.2
- API bump for Update 17 Dragon Bones

1.5.1.1
- Update 16 Clockwork City compatibility

1.5.1.0
- Update 15 Horns of the Reach compatibility
- Fix error thrown at mail send panel sometimes when item list is sorted by quality and you have master writs in your inventory.

1.5.0.0
- Update 14 Morrowind compatibility
- Improved Master Writ sorting

1.4.1.0
- Much faster sorting performance
- Fix errors thrown when sending mail with attachments or opening some containers

1.4.0.0
- Sort items of the same quality and name in the following order: level, trait, enchant, style, instance id
- Update 13 Homestead compatibility

1.3.1.2
- Updated API version (One Tamriel - 100017)

1.3.1.1
- Remove debug chat messages. Derp.

1.3.1.0
- Resized "Name" sort header so that it doesn't overlap with "Quality" header

1.3.0.0
- Quality header now displays as text in the local UI language, instead of as arrows.
- updated API version (Shadows of the Hist - 100016)

1.2.0.0
- crafting station support (smith, clothier, woodworking, enchanting)
- note: alchemy excluded, since everything is always the same quality (white)

1.1.0.0
- updated API version (Dark Brotherhood - 100015)
- craft bag support
- quick slot inventory screen support

1.0.1.0
- changed label anchor to match status sort header
- updated API version

1.0.0.5
- updated API version

1.0.0.4
- updated API version

1.0.0.3
- updated API version

1.0.0.2
- update API version

1.0.0b
- Update API version to 100009

1.0
- Initial release.
Optional Files (1)
File Name
Version
Size
Author
Date
Type
2.0.1
8kB
04/20/19 07:10 AM
Patch


Archived Files (23)
File Name
Version
Size
Uploader
Date
2.0.0
79kB
silvereyes
04/15/19 09:25 PM
1.6.1.0
4kB
silvereyes
02/03/19 06:58 PM
1.6.0.1
4kB
silvereyes
10/22/18 12:09 AM
1.6.0.0
4kB
silvereyes
04/28/18 08:13 AM
1.5.1.2
4kB
silvereyes
02/09/18 05:48 PM
1.5.1.1
4kB
silvereyes
10/22/17 03:52 PM
1.5.1.0
4kB
silvereyes
07/28/17 09:19 PM
1.5.0.0
4kB
silvereyes
05/22/17 12:03 AM
1.4.1.0
4kB
silvereyes
02/18/17 09:51 PM
1.4.0.0
3kB
silvereyes
02/04/17 01:44 PM
1.3.1.2
3kB
silvereyes
09/20/16 06:14 PM
1.3.1.1
3kB
silvereyes
07/31/16 04:33 AM
1.3.1.0
3kB
silvereyes
07/31/16 04:27 AM
1.3.0.0
2kB
silvereyes
07/18/16 12:57 PM
1.0.2.1
2kB
silvereyes
07/03/16 01:04 AM
1.0.2.0
2kB
silvereyes
07/01/16 11:51 PM
1.0.1.0
2kB
Randactyl
03/07/16 06:23 AM
1.0.0.5
2kB
Randactyl
11/02/15 03:46 PM
1.0.0.4
2kB
Randactyl
08/31/15 02:20 AM
1.0.0.3
2kB
Randactyl
03/03/15 11:40 AM
1.0.0.2
2kB
Randactyl
11/03/14 10:25 AM
1.0.0b
2kB
Randactyl
09/20/14 12:19 PM
1.0
1kB
Randactyl
08/04/14 01:01 PM


Post A Reply Comment Options
Unread 04/24/19, 02:35 PM  
Marazota

Forum posts: 107
File comments: 995
Uploads: 0
whats this?
after this all UI become unavailable - like blurred and cant open anything
see i opened quest tab





i have this items with inventory

|H1:quest_item:4343|h|h
|H1:quest_item:4342|h|h
|H1:quest_item:4341|h|h

during a quest

looks like Quality sort involved



Report comment to moderator  
Reply With Quote
Unread 04/18/19, 04:45 PM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 201
Uploads: 12
Originally Posted by Akopian Atrebates
Do you mind if I go post this over in the Autocategory comments. I don't know what is most appropriate. Maybe you guys generally just privately message each other with suggestions. I just do not want to upset anybody, and at the same time, do my part to help you guys any way I can.
Please do. I don't use auto category, and I don't see the author on chat.
Report comment to moderator  
Reply With Quote
Unread 04/16/19, 10:19 PM  
Akopian Atrebates

Forum posts: 2
File comments: 45
Uploads: 0
Do you mind if I go post this over in the Autocategory comments. I don't know what is most appropriate. Maybe you guys generally just privately message each other with suggestions. I just do not want to upset anybody, and at the same time, do my part to help you guys any way I can.
Report comment to moderator  
Reply With Quote
Unread 04/16/19, 09:48 PM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 201
Uploads: 12
Originally Posted by Akopian Atrebates
Don't know why people are being so rude to you. Thank you very much for this addon. I really like the idea. I think I may have found an incompatibility with some rather popular addons that you might try to fix, but that is of course up to you. I'm grateful for any time and effort you put into this, and if you do not, when I need quality sort, I will just turn off the other addons and use yours. Anyway, here are the errors I got:
This looks like a bug with auto category when it's set to disabled.

Try editing AutoCategory_Hooks.lua around line 120. Change:
Lua Code:
  1. --change sort function
  2.         inventory.sortFn =  function(left, right)
  3.             if AutoCategory.Enabled then
  4.                 if right.sortPriorityName ~= left.sortPriorityName then
  5.                     return NilOrLessThan(left.sortPriorityName, right.sortPriorityName)
  6.                 end
  7.                 if right.isHeader ~= left.isHeader then
  8.                     return NilOrLessThan(right.isHeader, left.isHeader)
  9.                 end
  10.                 --compatible with quality sort
  11.                 if type(inventory.currentSortKey) == "function" then
  12.                     if inventory.currentSortOrder == ZO_SORT_ORDER_UP then
  13.                         return inventory.currentSortKey(left.data, right.data)
  14.                     else
  15.                         return inventory.currentSortKey(right.data, left.data)
  16.                     end
  17.                 end
  18.             end
  19.             return ZO_TableOrderingFunction(left.data, right.data, inventory.currentSortKey, sortKeys, inventory.currentSortOrder)
  20.         end

to

Lua Code:
  1. --change sort function
  2.         inventory.sortFn =  function(left, right)
  3.             if AutoCategory.Enabled then
  4.                 if right.sortPriorityName ~= left.sortPriorityName then
  5.                     return NilOrLessThan(left.sortPriorityName, right.sortPriorityName)
  6.                 end
  7.                 if right.isHeader ~= left.isHeader then
  8.                     return NilOrLessThan(right.isHeader, left.isHeader)
  9.                 end
  10.             end
  11.             --compatible with quality sort
  12.             if type(inventory.currentSortKey) == "function" then
  13.                 if inventory.currentSortOrder == ZO_SORT_ORDER_UP then
  14.                     return inventory.currentSortKey(left.data, right.data)
  15.                 else
  16.                     return inventory.currentSortKey(right.data, left.data)
  17.                 end
  18.             end
  19.             return ZO_TableOrderingFunction(left.data, right.data, inventory.currentSortKey, sortKeys, inventory.currentSortOrder)
  20.         end
Report comment to moderator  
Reply With Quote
Unread 04/16/19, 01:21 AM  
Akopian Atrebates

Forum posts: 2
File comments: 45
Uploads: 0
Don't know why people are being so rude to you. Thank you very much for this addon. I really like the idea. I think I may have found an incompatibility with some rather popular addons that you might try to fix, but that is of course up to you. I'm grateful for any time and effort you put into this, and if you do not, when I need quality sort, I will just turn off the other addons and use yours. Anyway, here are the errors I got:

bad argument #2 to 'string.format' (string expected, got function)
stack traceback:
[C]: in function 'string.format'
EsoUI/Libraries/Utility/ZO_TableUtils.lua:95: in function 'ZO_TableOrderingFunction'
|caaaaaa<Locals> entry1 = tbl, entry2 = tbl, sortKey = user:/AddOns/QualitySort/QualitySort.lua:211, sortKeys = tbl, sortOrder = true, value1Type = "nil", value1Text = "nil", value2Text = "nil" </Locals>|r
(tail call): ?
[C]: in function 'table.sort'
user:/AddOns/AutoCategory/AutoCategory_Hooks.lua:168: in function 'prehookSort'
|caaaaaa<Locals> self = tbl, inventoryType = 6, inventory = tbl, list = ud, scrollData = tbl </Locals>|r
EsoUI/Libraries/Utility/ZO_Hook.lua:19: in function 'ApplySort'
EsoUI/Ingame/Inventory/Inventory.lua:1465: in function 'ZO_InventoryManager:UpdateList'
|caaaaaa<Locals> self = tbl, inventoryType = 6, inventory = tbl, list = ud, scrollData = tbl </Locals>|r
user:/AddOns/AutoCategory/AutoCategory.lua:290: in function 'RefreshList'
|caaaaaa<Locals> inventoryType = 6 </Locals>|r
user:/AddOns/AutoCategory/AutoCategory.lua:296: in function 'AutoCategory.RefreshCurrentList'
|caaaaaa<Locals> RefreshList = user:/AddOns/AutoCategory/AutoCategory.lua:289 </Locals>|r
user:/AddOns/AutoCategory/AutoCategory.lua:391: in function 'AC_Binding_ToggleCategorize'
:1: in function '(main chunk)'
|caaaaaa<Locals> keybind = "TOGGLE_AUTO_CATEGORY" </Locals>|r
Report comment to moderator  
Reply With Quote
Unread 04/15/19, 09:39 PM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 201
Uploads: 12
Version 2.0.0 Released

A new version is out, with several feature requests implemented.

Version 2.0.0
  • Update 22 Elsweyr compatibility. This version is compatible with both live (Wrathstone) and PTS.
  • Transmute station support
  • Added settings menu
  • Automatic quality sort by default (optional)
  • You can now customize sort order
  • Added sort comparisons for the following (enabled by default):
    • Equipped (improvement and transmute)
    • Item Set
    • Equipment Slot (e.g. head, chest, etc.)
  • Added ability to disable any secondary, tertiary, etc. comparisons for sort priority.
Report comment to moderator  
Reply With Quote
Unread 04/13/19, 01:36 PM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 201
Uploads: 12
Originally Posted by Tonyleila
Originally Posted by boxanata
Doesn't lock the sorting to quality, meaning you have to switch to it every damn time you open your inventory. Yeah, I'll Pass.
Don't be ungrateful, yes this sucks but at least we can sort it...

I also wish there was an interation with MrPlow - Inventory Sorter (still working) so that that gear woud first be sorted by quality and then by item item (all gold necks together, all purple shoulders toegether etc)
I probably won't add compatibility with other sorting addons, but I may make some of the priorities configurable in a future update.
Report comment to moderator  
Reply With Quote
Unread 04/13/19, 01:34 PM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 201
Uploads: 12
Originally Posted by boxanata
Doesn't lock the sorting to quality, meaning you have to switch to it every damn time you open your inventory. Yeah, I'll Pass.
I'll consider this for a future version. It's been requested by others in the past.
Report comment to moderator  
Reply With Quote
Unread 04/13/19, 01:33 PM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 201
Uploads: 12
Re: Request feature

Originally Posted by Marazota
add sorting to Transmute station pls
I've added this request to the list for a future version.
Report comment to moderator  
Reply With Quote
Unread 02/27/19, 05:50 AM  
Marazota

Forum posts: 107
File comments: 995
Uploads: 0
Request feature

add sorting to Transmute station pls
Report comment to moderator  
Reply With Quote
Unread 02/24/19, 08:22 PM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 286
File comments: 752
Uploads: 7
Originally Posted by boxanata
Doesn't lock the sorting to quality, meaning you have to switch to it every damn time you open your inventory. Yeah, I'll Pass.
Don't be ungrateful, yes this sucks but at least we can sort it...

I also wish there was an interation with MrPlow - Inventory Sorter (still working) so that that gear woud first be sorted by quality and then by item item (all gold necks together, all purple shoulders toegether etc)
__________________
My Addons @ WoWInterface
Report comment to moderator  
Reply With Quote
Unread 02/10/19, 01:43 AM  
boxanata

Forum posts: 0
File comments: 14
Uploads: 0
Doesn't lock the sorting to quality, meaning you have to switch to it every damn time you open your inventory. Yeah, I'll Pass.
Report comment to moderator  
Reply With Quote
Unread 09/30/17, 09:10 AM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 201
Uploads: 12
Originally Posted by Marazota
hey
please can you add in new version option to switch between text "QUALITY" and arrows from old release?

arrows is quite better for me, its looks better
I just created an optional patch with the old arrows style. You can grab it here: http://www.esoui.com/downloads/info1...wsVersion.html
Report comment to moderator  
Reply With Quote
Unread 08/31/17, 09:33 AM  
Marazota

Forum posts: 107
File comments: 995
Uploads: 0
hey
please can you add in new version option to switch between text "QUALITY" and arrows from old release?

arrows is quite better for me, its looks better
Report comment to moderator  
Reply With Quote
Unread 08/05/17, 03:52 PM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 201
Uploads: 12
Originally Posted by Octopuss
Would you consider expanding the mod for more sorting methods? Like item count for example.
This addon isn't - nor will it ever be - a general-purpose sorting solution like SortIt was. It's intentionally a very narrow purpose sort for a very popular single property. This keeps the code simple, which has several advantages:
  • It is more likely to be maintained long-term.
  • It is less likely to break
  • It is more likely to be compatible with other sorting addons
I would recommend that you try to find someone that is willing to pick up the SortIt project and fix what is broken with it, since that seems to be a better fit for the kind of addon you are looking for.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.