Sort the missing acquire info section in the report by spell ID
Ackis [12-11-08 - 17:14]
Sort the missing acquire info section in the report by spell ID
diff --git a/ARLDataminer.rb b/ARLDataminer.rb
index cd49b75..0dbcf58 100644
--- a/ARLDataminer.rb
+++ b/ARLDataminer.rb
@@ -1574,9 +1574,13 @@ def create_stats_list()
stats_lua.puts("No acquire information:")
- $missingdataacquire.each_pair do |k,l|
+ # Sort the output
+ sorted_keys = $missingdataacquire.keys.sort_by do |k| k end
+
+ sorted_keys.each do |k|
- stats_lua.puts "#{k} - #{l[:sname]} - #{l[:sprof]}"
+ v = $missingdataacquire[k]
+ stats_lua.puts "#{k} - #{v[:sname]} - #{v[:sprof]}"
end