Quantcast

5.3.0

Steven Jackson [12-02-14 - 04:12]
5.3.0
Filename
Interface/AddOns/SVUI/packages/stats/stats/reputation.lua
diff --git a/Interface/AddOns/SVUI/packages/stats/stats/reputation.lua b/Interface/AddOns/SVUI/packages/stats/stats/reputation.lua
index 942c035..08847af 100644
--- a/Interface/AddOns/SVUI/packages/stats/stats/reputation.lua
+++ b/Interface/AddOns/SVUI/packages/stats/stats/reputation.lua
@@ -26,6 +26,7 @@ local select 	= _G.select;
 local tinsert 	= _G.tinsert;
 local table     = _G.table;
 local twipe     = table.wipe;
+local tsort     = table.sort;
 --[[ STRING METHODS ]]--
 local format, gsub = string.format, string.gsub;
 --[[
@@ -80,6 +81,7 @@ function MOD:CacheRepData()
 			tinsert(RepMenuList, {text = factionName, func = fn})
 		end
 	end
+	tsort(RepMenuList, function(a,b) return a.text < b.text end)
 end

 local function Reputation_OnEvent(self, ...)