View Single Post
07-27-17, 11:46 AM   #9
Kakjens
A Cliff Giant
Join Date: Apr 2017
Posts: 75
SDPhantom, thanks for explanation. That's why I modify the lines 20 and 21 into
Lua Code:
  1. local mysortedtable = KillSort(BangCharKills)
  2. for rank,pair in ipairs(mysortedtable) do
Also thought that line 16 is suspicious.
By the way, is sorting of full table required? I naively think that the time required to obtain five top-most results should be smaller.
  Reply With Quote