Serious Buff Sort and Timers

**DISCLAIMER** im discontinuing this addon come wrath mainly caused i've replaced it with Elk's BuffBars which are superior. I really just made this to introduce myself to addon coding and being in the beta im working on making more advanced addons for wrath.

This still WORKS FOR 2.4.3 as of 8/26/08

The timers is in the screenshot and I can't really show off the sort function in a screenshot.

And if you are one of the few who used these originals which are Neroix's Serious BuffTimers and mergele's BuffSort. I give them credit because they had the idea first as well as some of the major coding =]. Neither addon had been updated in a while and I was getting an error so i decided to update and combine them. There is no slash commands for the timers(cause they're not needed) but they different commands for the sort are below.

The buffsort portion of this mod actually modifies the order in which buffs are returned, it should work for any mods that update the buff window.

This mod has been tested with the standard buff frame, CT_BuffMod, and Gypsy_BuffBar.

Refreshing an active buff could cause duration sorting to be incorrect. This is because buffs are only sorted when they change. A refresh just updates the duration, it doesn't actually change anything. Buffs will be properly resorted the next time a buff is added or removed, or you can manually resort them at any time using the 'sort' command.

If the buff sort order is changed, CT_BuffMod will spam you with warnings when a buff is about to expire. This appears to be a side effect of remapping the buff locations without moving the buttons. This will only happen once and only after the buff order is changed. Once the buff order is set, this will not happen with any new buffs.

If the buff sort order is changed while any buffs are about to expire, the Gypsy button fading for some buffs may get 'stuck'.