Description
Alt Sort
A tiny World of Warcraft addon that sorts your bags with Alt+S.
Features
- Press Alt+S to sort your bags.
- Open your bank (or the warband bank) and press Alt+S to sort it instead — same key, no extra bindings.
- Uses Blizzard's built-in sorting functionality.
- Rebindable in Key Bindings > Alt Sort.
- Choose ascending or descending sort order in Options > AddOns > Alt Sort, or with
/altsort order. - Optional
/altsortslash command (see below). - Extremely lightweight.
Installation
Extract the AltSort folder into:
World of Warcraft/_retail_/Interface/AddOns/
Usage
Log into World of Warcraft and press Alt+S.
On first login Alt Sort binds Alt+S (only if that key is free). It is never re-applied, so if you rebind or clear it, your choice is kept.
Slash commands
The key binding is all most people need, but /altsort is there if you prefer typing or want to use it in a macro:
| Command | What it does |
|---|---|
/altsort sort |
Sorts your bags, or the bank if it is open (same as Alt+S). |
/altsort bank |
Sorts the bank. Does nothing but tell you so if no bank is open. |
/altsort order [ascending|descending] |
Sets the sort order, or shows it if you leave the value off. |
/altsort reset |
Re-applies the default Alt+S binding, if that key is free. |
/altsort help |
Lists these commands. /altsort on its own does the same. |
Sort order
Ascending (the default) is Blizzard's normal behavior: sorted items fill your bags from the first slot. Descending uses Blizzard's right-to-left option, so they fill from the last slot instead. The setting applies to bags; the bank sort calls have no direction option.
Development
Alt Sort is built on Ace3 (AceAddon, AceEvent, AceConsole, AceDB, AceLocale). The libraries are vendored in Libs/ (Ace3 release r1403), so a plain checkout runs as-is. To update them, copy the same folders from a newer Ace3 release.
User-facing strings live in Locales/. enUS.lua is the source of truth and the fallback: a locale file only needs to translate what it can, and anything missing shows in English. Translations exist for deDE, esES, esMX, frFR, itIT, koKR, ptBR, ruRU, zhCN and zhTW. They were machine-drafted, so corrections from native speakers are very welcome (game terms such as "Warband" are the likeliest to be off). The addon name "Alt Sort" is left in English everywhere. To fix or add a language, edit Locales/<locale>.lua, keep each string's %s placeholders, and make sure the file is listed in AltSort.toc; the specs check both.
