# GearBagSort

GearBagSort keeps one designated bag organized by equipped item level while leaving Blizzard's normal bag sorting workflow intact.

## Features

- Choose any equipped bag or the backpack as your gear bag.
- Sort highest-to-lowest or lowest-to-highest item level.
- Automatically run after Blizzard's **Clean Up Bags** action, or sort manually.
- Uses live item-level data and waits for each bag swap to complete.
- Breaks item-level ties consistently by quality and item ID.
- Includes an in-game settings panel and optional diagnostic output.

## Usage

Open **Options > AddOns > GearBagSort**, or use:

- `/gbs sort` — sort the selected gear bag now.
- `/gbs bag 1-5` — select a bag slot; 5 is the backpack.
- `/gbs order asc|desc` — select sorting direction.
- `/gbs auto` — toggle automatic sorting.
- `/gbs options` — open settings.
- `/gbs status` — show current settings.

GearBagSort changes only the order of items inside the selected bag. It does not equip, sell, delete, or move items to another bag.

## Compatibility

Designed for World of Warcraft Retail 12.1.0.

## Author

Jamie Kaos
