NEW Discord : https://discord.gg/hjVsHgtG4m
Version 1.15 : added Gladdy and sArena_reloaded
Version 1.14 : works with all wow flavour
(the button to display pets is postponed for classic).
Sort Unit Frames sorts the unit frames of ALL addons (party + raid + arena). All the addons below share the same code ! One addon or many addons is the same.
Blizzard, Gladdy, sArena_reloaded, ElvUI, Plexus, Cell, Grid2, DandersFrames, ShadowedUnitFrames, VuhDo, HealBot, Healium, Aptechka, ZPerl, Perl, PitBull4, DiscordUnitFrames, SpartanUI, ViksUI, nUI, InvenRaidFrames3, oUF_Ruri, HotSpot, UnboundFrames, HasuitFrames, BattleGroundEnemies, sArena, mArena, GladiusEx, Gladius
Features
- Chose the position of the player frame (optional).
- Two methods of sorting, one by Role & Class, and an other one by Specializations (tank, healer, melee dps and ranged) (optional).
- Powerful macro engine that transforms the unitID to their graphical position, and with special tokens : medic (ally healer), tank, tank1, tank2, tank3 and healer (enemy healer).
- Chose how your raid or party frame is growing (ex : top to bottom and left to right, or right to left and top to bottom, etc ...)
- Add vertical and horizontal spacing up to 40 pixels (Blizzard only) !
- Place the party pets at the LEFT, RIGHT, TOP, BOTTOM of their owner
- 4 character specific and account-wide profiles : party, raid, arena and battleground
- The addon works seamlessly in combat and is super light !
- target / focus / assist the remapped units with the Blizzard Options -> Bindings interface.
- There is a button to show / hide pets at the BOTTOM of the Blizzard manager.

Place the party pets at the LEFT, RIGHT, TOP, BOTTOM of their owner depending on the vertical/horizontal party


Right click on the Blizzard manager arrow at the left of your screen to show / hide the Config Panel, or in the addon loader near the minimap, or /srap or /sort or /sortunitframes.

Documentation
You can make SortUnitFrames acting on your unit frames with the following functions :
SRAPHandler:addaframe("name of your set", displayframe, [unitframe])
- "name of your set" : type string, defines the set to which the frames belong. If the name is ended by "arena", this set is meant for arena/BGs enemy frames.
- displayframe : a frame of one unit to which everything is anchored
- unitframe : optional, the button that contains the unit attribute at the LeftButton, unitframe=displayframe very often
SRAPHandler:addheader("name of your set", header)
- "name of your set" : type string, defines the set to which the frames belong.
- header : a "SecureGroupHeaderTemplate" or "SecureGroupPetHeaderTemplate" etc... found in "SecureGroupHeaders.xml"
A displayframe or a header must appear only once in a set, but can belong to more than one set.
SRAPHandler:Pause()
This function pauses Sort Raid & Party and revert to the initial frame positions and anchors.
SRAPHandler:Resume()
This function reactives Sort Raid & Party and performs an update.