Quantcast

Sort click-sets when displaying in spell info

James Whitehead II [10-09-10 - 13:22]
Sort click-sets when displaying in spell info
Filename
Utils.lua
diff --git a/Utils.lua b/Utils.lua
index 8823973..4e65566 100644
--- a/Utils.lua
+++ b/Utils.lua
@@ -194,6 +194,7 @@ function addon:GetBindingInfoText(binding)
         for k,v in pairs(sets) do
             table.insert(bits, k)
         end
+        table.sort(bits)
         return table.concat(bits, ", ")
     end
 end